Jan Dittberner
711a96212c
- implement websites.models.Website - add migration - implement websites.views.AddWebsite - implement websites.forms.AddWebsiteForm - define URL pattern 'add_website' in websites.urls - register Website model in websites.admin - add templates websites/base.html and websites/website_create.html - add german translation for new strings - add website URLs to gnuviechadmin.urls - add websites to INSTALLED_APPS - add changelog entry
19 lines
362 B
Python
19 lines
362 B
Python
"""
|
|
This module defines the URL patterns for website related views.
|
|
|
|
"""
|
|
from __future__ import absolute_import, unicode_literals
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
from .views import (
|
|
AddWebsite,
|
|
)
|
|
|
|
|
|
urlpatterns = patterns(
|
|
'',
|
|
url(r'^(?P<package>\d+)/(?P<domain>[\w0-9.-]+)/create$',
|
|
AddWebsite.as_view(), name='add_website'),
|
|
)
|