We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26c65b5 commit 291386fCopy full SHA for 291386f
1 file changed
pythonpro/redirector/admin.py
@@ -7,9 +7,11 @@ class RedirectLinkAdmin(admin.TabularInline):
7
model = RedirectLink
8
extra = 1
9
readonly_fields = ['total_access', ]
10
+ exclude = ['created', 'updated']
11
12
13
@admin.register(Redirect)
14
class RedirectorAdmin(admin.ModelAdmin):
15
list_display = 'slug url'.split()
16
inlines = (RedirectLinkAdmin, )
17
0 commit comments