David Winterbottom
9d2a1ca24d
Rework how we tell if there is a profile class
hace 12 años
Maik Hoepfel
9e3d824c57
Add lightweight feature hiding functionality
Introduces the concept of a "feature" that can be hidden. A list of
features to hide can be supplied in OSCAR_HIDDEN_FEATURES.
Feature hiding is currently supported in two places.
Application instances can carry a "hidable_feature_name". If set and
found in OSCAR_HIDDEN_FEATURES, post_process_urls will return an empty
set of url patterns, hence disabling relevant views.
display_tags also has a new template block tag iffeature.
{% iffeature "feature" %}xxx{% endiffeature %} will hide everything
inside the block if the feature is hidden.
hace 12 años
Maik Hoepfel
7b809d3a5f
get_classes now allows top-level apps.
Fixes #614
hace 12 años
David Winterbottom
5316b75314
Correct flake8 errors and warnings
hace 13 años
Paweł Kowalski
a148c3d5b5
Fix get_classes module name processing
hace 13 años
David Winterbottom
f4daa0e107
First stage of offers dashboard complete
hace 13 años
David Winterbottom
d975f81369
Added more helpful error message for missing classname problems when loading
hace 13 años
David Winterbottom
69045acc5d
Added view/form for handling updates to user and profile.
It handles the situation where there is no profile model too, and
dyncamically builds a profile and user form
hace 13 años
David Winterbottom
b9de81f3e6
Updated the load_class method to work with app labels with more than 2
segments.
hace 13 años
David Winterbottom
2cc41173ff
Reworked the dynamic class loader
hace 14 años
David Winterbottom
9173db6092
Added test for loading from dashboard
hace 14 años
David Winterbottom
6851048780
Replaced import_module with a better class loading mechanism.
This ones won't causes pep8 to complain.
hace 14 años
David Winterbottom
e2a4c25b7f
Started reworking the class loading mechanism
hace 14 años
David Winterbottom
247039c16f
Reverting logging change as it clashes with std library
hace 14 años
David Winterbottom
92d409110b
Added logging support to dynamic loading
hace 14 años
David Winterbottom
5b7b990b20
MASSIVE commit as the word 'item' is phased out in favour of 'product' to make things more consistent. Also, renamed product app to catalogue
hace 14 años
David Winterbottom
39dd0b6508
Corrected all exceptions to use pep8 naming convention
hace 14 años
David Winterbottom
fc0d3e70ca
Updated shipping address views in checkout - not finished yet
hace 14 años
David Winterbottom
aed0d58f82
Fixed bug in new version of import_module
hace 14 años
Federico Marani
11a47af88f
added ability to load subpackages
hace 14 años
Federico Marani
de21ce8c85
added ability to load subpackages
hace 14 años
David Winterbottom
7443395912
Reworked import_module function to load classes into passed namespace
hace 14 años
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
hace 14 años
David Winterbottom
cb3b26509a
Refactored location of dynamic class loader
hace 14 años
David Winterbottom
737add0534
Added core and test packages
hace 14 años