Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

"%(class)s" in django


owner = models.ForeignKey(TaskUser, related_name="%(app_label)s_%(class)s_ownership")

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #django
ADD COMMENT
Topic
Name
4+3 =