forked from gergely/calendar-social
WIP: Groups support
This commit is contained in:
@@ -29,6 +29,7 @@ from sqlalchemy.orm.exc import NoResultFound, MultipleResultsFound
|
||||
|
||||
from calsocial.account import AccountBlueprint
|
||||
from calsocial.cache import CachedSessionInterface, cache
|
||||
from calsocial.group import GroupBlueprint
|
||||
from calsocial.utils import RoutedMixin
|
||||
|
||||
|
||||
@@ -109,6 +110,7 @@ class CalendarSocialApp(Flask, RoutedMixin):
|
||||
RoutedMixin.register_routes(self)
|
||||
|
||||
AccountBlueprint().init_app(self, '/accounts/')
|
||||
GroupBlueprint().init_app(self, '/groups/')
|
||||
|
||||
self.before_request(self.goto_first_steps)
|
||||
|
||||
|
Reference in New Issue
Block a user