|
|
@@ -6,9 +6,7 @@ from oscar.apps.customer.app import application as customer_app
|
|
6
|
6
|
from oscar.apps.basket.app import application as basket_app
|
|
7
|
7
|
from oscar.apps.checkout.app import application as checkout_app
|
|
8
|
8
|
from oscar.apps.promotions.app import application as promotions_app
|
|
9
|
|
-from oscar.apps.order_management.app import application as order_management_app
|
|
10
|
9
|
from oscar.apps.search.app import application as search_app
|
|
11
|
|
-from oscar.apps.reports.app import application as reports_app
|
|
12
|
10
|
|
|
13
|
11
|
|
|
14
|
12
|
class Shop(Application):
|
|
|
@@ -19,18 +17,14 @@ class Shop(Application):
|
|
19
|
17
|
basket_app = basket_app
|
|
20
|
18
|
checkout_app = checkout_app
|
|
21
|
19
|
promotions_app = promotions_app
|
|
22
|
|
- order_management_app = order_management_app
|
|
23
|
20
|
search_app = search_app
|
|
24
|
|
- reports_app = reports_app
|
|
25
|
21
|
|
|
26
|
22
|
def get_urls(self):
|
|
27
|
23
|
urlpatterns = patterns('',
|
|
28
|
24
|
(r'products/', include(self.catalogue_app.urls)),
|
|
29
|
25
|
(r'basket/', include(self.basket_app.urls)),
|
|
30
|
26
|
(r'checkout/', include(self.checkout_app.urls)),
|
|
31
|
|
- (r'order-management/', include(self.order_management_app.urls)),
|
|
32
|
27
|
(r'accounts/', include(self.customer_app.urls)),
|
|
33
|
|
- (r'reports/', include(self.reports_app.urls)),
|
|
34
|
28
|
(r'search/', include(self.search_app.urls)),
|
|
35
|
29
|
(r'', include(self.promotions_app.urls)),
|
|
36
|
30
|
)
|