mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed E305 flake8 warnings.
This commit is contained in:
parent
6072de727f
commit
967be82443
114 changed files with 360 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue