implement CustomerHostingPackageDetails view
This commit is contained in:
parent
0baee51d19
commit
0d08d9876b
3 changed files with 54 additions and 6 deletions
|
@ -1,12 +1,22 @@
|
|||
"""
|
||||
This module defines the URL patterns for hosting package related views.
|
||||
|
||||
"""
|
||||
from __future__ import absolute_import, unicode_literals
|
||||
|
||||
from django.conf.urls import patterns, url
|
||||
|
||||
from .views import CreateHostingPackage
|
||||
from .views import (
|
||||
CreateHostingPackage,
|
||||
CustomerHostingPackageDetails,
|
||||
)
|
||||
|
||||
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
url(r'^(?P<user>[\w0-9@.+-_]+)/create$', CreateHostingPackage.as_view(),
|
||||
name='create_hosting_package'),
|
||||
url(r'^(?P<user>[\w0-9@.+-_]+)/hostingpackage/(?P<pk>\d+)/$',
|
||||
CustomerHostingPackageDetails.as_view(),
|
||||
name='hosting_package_details'),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue