mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-24 19:29:32 +00:00
re-apply ruff TCH rules
This commit is contained in:
1 parent
d93afffbc3
commit
7bd79d1d55
63 files changed
+288
-88
No files matched your search
+6
-2
@@ -12,12 +12,16 @@
|
||||
# OR WITHIN THE LOCAL FILE "LICENSE"
|
||||
#
|
||||
#
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from django.contrib import admin
|
||||
from django.forms.models import ModelForm
|
||||
from django.http import HttpRequest
|
||||
|
||||
from club.models import Club, ClubLink, ClubRole, LinkType, Membership
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from django.forms.models import ModelForm
|
||||
from django.http import HttpRequest
|
||||
|
||||
|
||||
@admin.register(Club)
|
||||
class ClubAdmin(admin.ModelAdmin):
|
||||
|
||||
Reference in new issue
Block a user