Test product_slug url (wip)
This commit is contained in:
parent
e47f4f05b4
commit
e3bd963600
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ from django.conf import settings
|
||||||
from hosting.views import (
|
from hosting.views import (
|
||||||
RailsHostingView, DjangoHostingView, NodeJSHostingView
|
RailsHostingView, DjangoHostingView, NodeJSHostingView
|
||||||
)
|
)
|
||||||
|
from datacenterlight.views import PaymentOrderView
|
||||||
from membership import urls as membership_urls
|
from membership import urls as membership_urls
|
||||||
from ungleich_page.views import LandingView
|
from ungleich_page.views import LandingView
|
||||||
from django.views.generic import RedirectView
|
from django.views.generic import RedirectView
|
||||||
|
@ -29,6 +30,7 @@ urlpatterns = [
|
||||||
url(r'^nosystemd/', include('nosystemd.urls', namespace="nosystemd")),
|
url(r'^nosystemd/', include('nosystemd.urls', namespace="nosystemd")),
|
||||||
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
|
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
|
||||||
url(r'^jsi18n/(?P<packages>\S+?)/$', i18n.javascript_catalog),
|
url(r'^jsi18n/(?P<packages>\S+?)/$', i18n.javascript_catalog),
|
||||||
|
url(r'^product/(?P<product_slug>[\w-]+)/$', PaymentOrderView.as_view()),
|
||||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
|
|
||||||
urlpatterns += i18n_patterns(
|
urlpatterns += i18n_patterns(
|
||||||
|
|
Loading…
Reference in a new issue