mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 10:59:21 +02:00
Linting
This commit is contained in:
parent
6342f63596
commit
5c1e41bb55
3 changed files with 6 additions and 3 deletions
|
@ -2309,6 +2309,7 @@ class UserGroupAdmin(AuditedAdmin):
|
|||
|
||||
class WaffleFlagAdmin(FlagAdmin):
|
||||
"""Custom admin implementation of django-waffle's Flag class"""
|
||||
|
||||
class Meta:
|
||||
"""Contains meta information about this class"""
|
||||
|
||||
|
@ -2318,12 +2319,14 @@ class WaffleFlagAdmin(FlagAdmin):
|
|||
|
||||
class WaffleSwitchAdmin(SwitchAdmin):
|
||||
"""Custom admin implementation of django-waffle's Switch class"""
|
||||
|
||||
class Meta:
|
||||
"""Contains meta information about this class"""
|
||||
|
||||
model = models.WaffleSwitch
|
||||
fields = "__all__"
|
||||
|
||||
|
||||
admin.site.unregister(LogEntry) # Unregister the default registration
|
||||
|
||||
admin.site.register(LogEntry, CustomLogEntryAdmin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue