implement adding websites
- 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
This commit is contained in:
parent
cff35dd408
commit
711a96212c
12 changed files with 297 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
"""
|
||||
Admin site for websites.
|
||||
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
from .models import Website
|
||||
|
||||
|
||||
admin.site.register(Website)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue