mirror of https://gitlab.crans.org/bde/nk20
Fix some linting, some complex functions are remaining
This commit is contained in:
parent
e73b3cf69d
commit
2a8a5cd736
|
@ -7,7 +7,6 @@ from django.contrib.auth.models import User
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
from activity.models import Activity, ActivityType, Guest, Entry
|
from activity.models import Activity, ActivityType, Guest, Entry
|
||||||
from member.models import Club
|
from member.models import Club
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,8 @@ class HistoryTable(tables.Table):
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
created_at = tables.DateTimeColumn(format='Y-m-d H:i:s',
|
created_at = tables.DateTimeColumn(
|
||||||
|
format='Y-m-d H:i:s',
|
||||||
attrs={
|
attrs={
|
||||||
"td": {
|
"td": {
|
||||||
"class": "text-nowrap",
|
"class": "text-nowrap",
|
||||||
|
|
|
@ -7,7 +7,6 @@ from django.core.exceptions import ValidationError
|
||||||
from django.db.models import Q
|
from django.db.models import Q
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
|
|
||||||
from member.models import Membership, Club
|
from member.models import Membership, Club
|
||||||
from note.models import SpecialTransaction, NoteSpecial, Transaction
|
from note.models import SpecialTransaction, NoteSpecial, Transaction
|
||||||
from treasury.models import Invoice, Product, Remittance, RemittanceType, SogeCredit
|
from treasury.models import Invoice, Product, Remittance, RemittanceType, SogeCredit
|
||||||
|
|
Loading…
Reference in New Issue