|
1 | 1 | from django.apps import apps |
2 | | -from django.conf.urls.i18n import i18n_patterns |
3 | 2 | from django.conf import settings |
| 3 | +from django.conf.urls.i18n import i18n_patterns |
| 4 | +from django.conf.urls.static import static |
4 | 5 | from django.contrib import admin |
5 | 6 | from django.contrib.staticfiles.urls import staticfiles_urlpatterns |
6 | | -from django.conf.urls.static import static |
7 | 7 | from django.urls import include, path |
8 | 8 |
|
9 | | - |
10 | 9 | admin.autodiscover() |
11 | 10 |
|
12 | 11 | urlpatterns = [ |
|
17 | 16 | # PayPal Express integration... |
18 | 17 | path('checkout/paypal/', include('paypal.express_checkout.urls')), |
19 | 18 | # Dashboard views for Payflow Pro |
20 | | - path('dashboard/paypal/payflow/', apps.get_app_config("payflow_dashboard").urls), |
| 19 | + path('dashboard/paypal/payflow/', |
| 20 | + apps.get_app_config("payflow_dashboard").urls), |
21 | 21 | # Dashboard views for Express |
22 | | - path('dashboard/paypal/express/', apps.get_app_config("express_dashboard").urls), |
| 22 | + path('dashboard/paypal/express/', |
| 23 | + apps.get_app_config("express_dashboard").urls), |
23 | 24 | # Dashboard views for Express Checkout |
24 | | - path('dashboard/paypal/express-checkout/', apps.get_app_config('express_checkout_dashboard').urls), |
| 25 | + path('dashboard/paypal/express-checkout/', |
| 26 | + apps.get_app_config('express_checkout_dashboard').urls), |
25 | 27 | path('', include(apps.get_app_config('oscar').urls[0])), |
26 | 28 | ) |
27 | 29 |
|
|
31 | 33 | settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |
32 | 34 |
|
33 | 35 | import debug_toolbar |
34 | | - urlpatterns = [ |
35 | | - path('__debug__/', include(debug_toolbar.urls)), |
36 | | - ] + urlpatterns |
| 36 | + |
| 37 | + urlpatterns = [path('__debug__/', |
| 38 | + include(debug_toolbar.urls)), ] + urlpatterns |
0 commit comments