Quellcode durchsuchen

Import django sorting-tags inside oscar. Change docs.

master
Asia Biega vor 13 Jahren
Ursprung
Commit
57f46a8103

+ 0
- 3
docs/source/_draft/getting_started/installation.rst Datei anzeigen

@@ -76,9 +76,6 @@ Configure ``settings.py``
76 76
     'oscar.apps.search',
77 77
     'oscar.apps.catalogue_import',
78 78
 
79
-* Add the following to your `INSTALLED_APPS` if you intend to use the default oscar dashboard templates::
80
-
81
-    'django_sorting',
82 79
 
83 80
 * Add these to ``TEMPLATE_CONTECT_PROCESSORS``::
84 81
 

+ 0
- 5
docs/source/getting_started.rst Datei anzeigen

@@ -38,11 +38,6 @@ to your ``INSTALLED_APPS``::
38 38
     'oscar.apps.search',
39 39
     'oscar.apps.voucher',
40 40
 
41
-Add the following to your `INSTALLED_APPS` if you intend to use the default
42
-oscar dashboard templates::
43
-
44
-    'django_sorting',
45
-
46 41
 Add::
47 42
 
48 43
     from oscar.defaults import *

+ 0
- 2
oscar/__init__.py Datei anzeigen

@@ -56,8 +56,6 @@ OSCAR_CORE_APPS = [
56 56
     'oscar.apps.dashboard.offers',
57 57
     'oscar.apps.dashboard.ranges',
58 58
     'oscar.apps.dashboard.vouchers',
59
-
60
-    'django_sorting',
61 59
 ]
62 60
 
63 61
 

+ 1
- 0
oscar/templatetags/sorting_tags.py Datei anzeigen

@@ -0,0 +1 @@
1
+from django_sorting.templatetags.sorting_tags import *

Laden…
Abbrechen
Speichern