You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 22, 2019. It is now read-only.
Using limit_choices_to cause a validation error when you save tasks because it's used by the ForeignKey validation.
I suggest to remove the limit_choices_to constraint since you validate the input with your form already.
I'm not sure if this have consequences else where.
Using limit_choices_to cause a validation error when you save tasks because it's used by the ForeignKey validation.
I suggest to remove the limit_choices_to constraint since you validate the input with your form already.
I'm not sure if this have consequences else where.
By the way, that for sharing your project :)
diff --git a/bltask/models.py b/bltask/models.py index 6b7e977..be5bacd 100644 --- a/bltask/models.py +++ b/bltask/models.py @@ -69,7 +69,6 @@ class Task(MP_Node): null=True, blank=True, related_name='assigned_tasks', - limit_choices_to={'project_members__slug': 'self.tasks.slug'}, verbose_name=_(u'assigned to')) created_by = models.ForeignKey(User,