Code documentation¶
Caffeine app¶
caffeine.admin¶
caffeine.authbackend¶
caffeine.forms¶
caffeine.middleware¶
- class caffeine.middleware.EnforceTimezoneMiddleware¶
Middleware to enforce that users have a time zone set.
- process_request(request)¶
Redirects to the time zone selection vie and passes the originally requested URL to that view if the current user does not have a time zone set.
Parameters: request (HttpRequest) – the current request Returns: redirect or None
caffeine.models¶
caffeine.views¶
Todo
document caffeine.views (there are import errors in django-registration)