mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	Fix some linting, some complex functions are remaining
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user