base setup
This commit is contained in:
2
at_django_boilerplate/utils/calendar_utils.py
Executable file
2
at_django_boilerplate/utils/calendar_utils.py
Executable file
@@ -0,0 +1,2 @@
|
||||
def has_google_calendar(user):
|
||||
return hasattr(user, 'google_calender') and bool(user.google_calender.token)
|
||||
Reference in New Issue
Block a user