1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- ==================
- Core functionality
- ==================
-
- This page details the core classes and functions that Oscar uses. These aren't
- specific to one particular app, but are used throughout Oscar.
-
- Dynamic class loading
- ---------------------
-
- The key to Oscar's flexibility is dynamically loading classes. This allows
- projects to provide their own versions of classes that extend and override the
- core functionality.
-
- .. automodule:: oscar.core.loading
- :members: get_classes, get_class
-
- URL patterns and views
- ----------------------
-
- Oscar's apps organise their URLs and associated views using a "OscarConfig"
- class instance. This works in a similar way to Django's admin app, and allows
- Oscar projects to subclass and customised URLs and views.
-
- .. automodule:: oscar.core.application
- :members:
-
- Prices
- ------
-
- Oscar uses a custom price object for easier tax handling.
-
- .. automodule:: oscar.core.prices
- :members: Price
-
- Custom model fields
- -------------------
-
- Oscar uses a few custom model fields.
-
- .. automodule:: oscar.models.fields
- :members:
- :exclude-members: contribute_to_class, deconstruct, get_prep_value, to_python, formfield
-
-
- Form helpers
- ------------
-
- .. automodule:: oscar.forms.mixins
- :members:
|