You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

core.rst 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ==================
  2. Core functionality
  3. ==================
  4. This page details the core classes and functions that Oscar uses. These aren't
  5. specific to one particular app, but are used throughout Oscar.
  6. Dynamic class loading
  7. ---------------------
  8. The key to Oscar's flexibility is dynamically loading classes. This allows
  9. projects to provide their own versions of classes that extend and override the
  10. core functionality.
  11. .. automodule:: oscar.core.loading
  12. :members: get_classes, get_class
  13. URL patterns and views
  14. ----------------------
  15. Oscar's apps organise their URLs and associated views using a "OscarConfig"
  16. class instance. This works in a similar way to Django's admin app, and allows
  17. Oscar projects to subclass and customised URLs and views.
  18. .. automodule:: oscar.core.application
  19. :members:
  20. Prices
  21. ------
  22. Oscar uses a custom price object for easier tax handling.
  23. .. automodule:: oscar.core.prices
  24. :members: Price
  25. Custom model fields
  26. -------------------
  27. Oscar uses a few custom model fields.
  28. .. automodule:: oscar.models.fields
  29. :members:
  30. :exclude-members: contribute_to_class, deconstruct, get_prep_value, to_python, formfield
  31. Form helpers
  32. ------------
  33. .. automodule:: oscar.forms.mixins
  34. :members: