mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed E305 flake8 warnings.
This commit is contained in:
committed by
Tim Graham
parent
6072de727f
commit
967be82443
@@ -10,6 +10,7 @@ class EventAdmin(admin.ModelAdmin):
|
||||
class TimestampAdmin(admin.ModelAdmin):
|
||||
readonly_fields = ('created', 'updated')
|
||||
|
||||
|
||||
site = admin.AdminSite(name='admin_tz')
|
||||
site.register(Event, EventAdmin)
|
||||
site.register(Timestamp, TimestampAdmin)
|
||||
|
||||
Reference in New Issue
Block a user