Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove add button django admin

class MyAdmin(admin.ModelAdmin):
     def has_add_permission(self, request, obj=None):
        return False
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #add #button #django #admin
ADD COMMENT
Topic
Name
2+3 =