Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

hide model field form

from django.contrib import admin

class AuthorAdmin(admin.ModelAdmin):
    fields = ('name', 'title')

class AuthorAdmin(admin.ModelAdmin):
    exclude = ('birth_date',)
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #hide #model #field #form
ADD COMMENT
Topic
Name
1+5 =