Import sorting
This commit is contained in:
parent
0d9ff3b771
commit
e438cfd78a
2 changed files with 3 additions and 21 deletions
|
@ -1,12 +1,6 @@
|
||||||
from django.forms import ModelForm
|
from django.forms import ModelForm
|
||||||
|
|
||||||
from .models import (
|
from .models import Account, Category, Invoice, Snapshot, Transaction
|
||||||
Account,
|
|
||||||
Category,
|
|
||||||
Invoice,
|
|
||||||
Snapshot,
|
|
||||||
Transaction,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class NummiForm(ModelForm):
|
class NummiForm(ModelForm):
|
||||||
|
|
|
@ -18,20 +18,8 @@ from django.views.generic import (
|
||||||
)
|
)
|
||||||
from django.views.generic.edit import ProcessFormView
|
from django.views.generic.edit import ProcessFormView
|
||||||
|
|
||||||
from .models import (
|
from .forms import AccountForm, CategoryForm, InvoiceForm, SnapshotForm, TransactionForm
|
||||||
Account,
|
from .models import Account, Category, Invoice, Snapshot, Transaction
|
||||||
Category,
|
|
||||||
Invoice,
|
|
||||||
Snapshot,
|
|
||||||
Transaction,
|
|
||||||
)
|
|
||||||
from .forms import (
|
|
||||||
AccountForm,
|
|
||||||
CategoryForm,
|
|
||||||
InvoiceForm,
|
|
||||||
SnapshotForm,
|
|
||||||
TransactionForm,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class IndexView(LoginRequiredMixin, TemplateView):
|
class IndexView(LoginRequiredMixin, TemplateView):
|
||||||
|
|
Loading…
Reference in a new issue