Fix some linting, some complex functions are remaining

This commit is contained in:
Yohann D'ANELLO 2020-09-05 14:29:40 +02:00
parent e73b3cf69d
commit 2a8a5cd736
3 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@ from django.contrib.auth.models import User
from django.test import TestCase
from django.urls import reverse
from django.utils import timezone
from activity.models import Activity, ActivityType, Guest, Entry
from member.models import Club

View File

@ -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={
"td": {
"class": "text-nowrap",

View File

@ -7,7 +7,6 @@ from django.core.exceptions import ValidationError
from django.db.models import Q
from django.test import TestCase
from django.urls import reverse
from member.models import Membership, Club
from note.models import SpecialTransaction, NoteSpecial, Transaction
from treasury.models import Invoice, Product, Remittance, RemittanceType, SogeCredit