Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.328 kB
class ${1:ModelName}Admin(admin.ModelAdmin):
${2:date_hierarchy = '${3:}'}
${4:list_display = (${5:})}
${6:list_filter = (${7:})}
${8:search_fields = [${9:}]}
${10:fieldsets = (${11:})}
${12:save_as = True}
${13:save_on_top = True}
${14:inlines = [${15:}]}
admin.site.register($1, $1Admin)
Jump to Line
Something went wrong with that request. Please try again.