Przeglądaj źródła

Import django sorting-tags inside oscar. Change docs.

master
Asia Biega 13 lat temu
rodzic
commit
1a2597eddd

+ 0
- 3
docs/source/_draft/getting_started/installation.rst Wyświetl plik

76
     'oscar.apps.search',
76
     'oscar.apps.search',
77
     'oscar.apps.catalogue_import',
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
 * Add these to ``TEMPLATE_CONTECT_PROCESSORS``::
80
 * Add these to ``TEMPLATE_CONTECT_PROCESSORS``::
84
 
81
 

+ 0
- 5
docs/source/getting_started.rst Wyświetl plik

38
     'oscar.apps.search',
38
     'oscar.apps.search',
39
     'oscar.apps.voucher',
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
 Add::
41
 Add::
47
 
42
 
48
     from oscar.defaults import *
43
     from oscar.defaults import *

+ 0
- 2
oscar/__init__.py Wyświetl plik

56
     'oscar.apps.dashboard.offers',
56
     'oscar.apps.dashboard.offers',
57
     'oscar.apps.dashboard.ranges',
57
     'oscar.apps.dashboard.ranges',
58
     'oscar.apps.dashboard.vouchers',
58
     'oscar.apps.dashboard.vouchers',
59
-
60
-    'django_sorting',
61
 ]
59
 ]
62
 
60
 
63
 
61
 

+ 1
- 0
oscar/templatetags/sorting_tags.py Wyświetl plik

1
+from django_sorting.templatetags.sorting_tags import *

Ładowanie…
Anuluj
Zapisz