incomplete create_hosting_package view
- add staff user view create_hosting_package - add hostingpackages.forms.CreateHostingPackageForm - add hostingpackages.views.CreateHostingPackage - add link for staff users on user_dashboard page - add url pattern - TODO: implement saving the hosting package, update docs
This commit is contained in:
parent
9890248e80
commit
680f091cba
7 changed files with 117 additions and 4 deletions
12
gnuviechadmin/hostingpackages/urls.py
Normal file
12
gnuviechadmin/hostingpackages/urls.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from __future__ import absolute_import, unicode_literals
|
||||
|
||||
from django.conf.urls import patterns, url
|
||||
|
||||
from .views import CreateHostingPackage
|
||||
|
||||
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
url(r'^(?P<user>[\w0-9@.+-_]+)/create$', CreateHostingPackage.as_view(),
|
||||
name='create_hosting_package'),
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue