Added ability to customise decoration of view functions.
This uses a few new methods in oscar.core.application.Application which
enable custom decorators to be set for given view fns.
The main use case at the moment is to make it easy to ensure that
checkout is not available to non-logged-in users when
OSCAR_ALLOW_ANON_CHECKOUT is set to False.
Refactored product app to provide a ProductApplication which contains all the url patterns, this makes it possible to extend its functionality without requiring the import_modules trick. Using Django's existing get_model method where needed.
Refactored product app to provide a ProductApplication which contains all the url patterns, this makes it possible to extend its functionality without requiring the import_modules trick. Using Django's existing get_model method where needed.