foreignkey as users from a user group django code example
Example: foreignkey as users from a user group django
author = models.ForeignKey("auth.User", limit_choices_to={'groups__name': "bloggers"})
author = models.ForeignKey("auth.User", limit_choices_to={'groups__name': "bloggers"})