Skip to content
Snippets Groups Projects

Resolve "appointment location"

Merged Piotr Gawron requested to merge 62-appointment-location into master

Closes #62 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
380 380 return False
381 381
382 382
383 @staticmethod
384 def get_by_user(the_user):
385 if isinstance(the_user, User):
386 workers = Worker.objects.filter(user=the_user)
387 if len(workers)>0:
388 return workers[0]
389 else:
390 return None
391 elif isinstance(user, Worker):
Please register or sign in to reply
Loading