-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce0ee7b
commit 6c6f3fb
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,20 +8,20 @@ | |
.. moduleauthor:: Tomas Neme <[email protected]> | ||
""" | ||
from boilerplate.apps.store import import_shop_app | ||
|
||
from oscar.apps.checkout import views | ||
|
||
class BaseRootMixin(object): | ||
""" | ||
Add base | ||
Add base behavior for root views: | ||
* allows for `template_name` and `template_name_preview` to be lists instead | ||
of single strings | ||
* adds `preview_url` and `method_index_url` variables to the context | ||
""" | ||
|
||
#: for internal usage. This is why boilerplate.apps.store.modules.payment.base.app.PaymentModule sets module=self in every view | ||
#: for internal usage. This is why | ||
#: boilerplate.apps.store.modules.payment.base.app.PaymentModule | ||
#: sets module=self in every view | ||
module = None | ||
|
||
def get_template_names(self): | ||
|