Conversation
|
@kbeker Could you please explain the problem a little more? Because from the pull request it looks like you are implementing handling for duration field in form, which, as far as I remember, works exactly like that out of the box. |
@rwrzesien |
rwrzesien
left a comment
There was a problem hiding this comment.
All right makes sense, thanks for explanation.
ca22956 to
8a2cb0b
Compare
| queryset = Project.objects.all() | ||
| form = ProjectJoinForm(queryset) | ||
| choices = form.fields["projects"].choices | ||
| self.assertIsNotNone(choices) |
There was a problem hiding this comment.
it is redundant: below asserion makes sure we won't have None ;)

Problem occurs when Admin or Manager edit employee report.