Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Commit

Permalink
refactoring: reorganize some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
das-g committed May 5, 2017
1 parent a89eb09 commit fda015d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 5 additions & 6 deletions osmaxx/excerptexport/forms/excerpt_form.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import json

from django.core.exceptions import ValidationError
from django.utils.translation import ugettext_lazy as _
from django import forms
from django.core.urlresolvers import reverse

from crispy_forms.helper import FormHelper
from crispy_forms.layout import Layout, Fieldset, Field, Submit
from django import forms
from django.core.exceptions import ValidationError
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext_lazy as _

from .order_options_mixin import OrderOptionsMixin
from osmaxx.excerptexport.models import Excerpt, ExtractionOrder
from osmaxx.utils.dict_helpers import select_keys
from .order_options_mixin import OrderOptionsMixin


class ExcerptForm(OrderOptionsMixin, forms.ModelForm):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from django.contrib.auth import get_user_model
from hamcrest import contains_string, match_equality

from osmaxx.excerptexport.models import ExtractionOrder, Excerpt
from osmaxx.utils.shortcuts import Emissary

from hamcrest import contains_string, match_equality


def test_send_email_if_all_exports_done_keeps_special_characters_unescaped(mocker, rf):
User = get_user_model() # noqa
Expand Down

0 comments on commit fda015d

Please sign in to comment.