Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

foreignkey as users from a user group django

author = models.ForeignKey("auth.User", limit_choices_to={'groups__name': "bloggers"})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #foreignkey #users #user #group #django
ADD COMMENT
Topic
Name
6+9 =