Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

customise django admin edit model button in field

#Add the necessary model to the admin page 
# in question and it will be done automaticallly:
  
@admin.register(Trip) # Original model in Django admin
@admin.register(User) # Additional model that allows its data to be created in tandem with the first model.
 
PREVIOUS NEXT
Tagged: #customise #django #admin #edit #model #button #field
ADD COMMENT
Topic
Name
4+6 =