This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BaseViewMixin(object): | |
| def dispatch(self, request, *args, **kwargs): | |
| # Set earlier to let get_loggedin_user() and get_context_user() work. | |
| # They run before the get() and post() methods are called. | |
| self.request = request | |
| self.args = args | |
| self.kwargs = kwargs | |
| # Run checks before entering the view. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class PersonalModule(modules.LinkList): | |
| title = _('Welcome,') | |
| draggable = False | |
| deletable = False | |
| collapsible = False | |
| template = 'ecms_dashboard/modules/personal.html' | |
| def init_with_context(self, context): | |
| super(PersonalModule, self).init_with_context(context) |
NewerOlder