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
12 lines
167 B
Python
12 lines
167 B
Python
"""
|
|
Admin site for websites.
|
|
|
|
"""
|
|
from __future__ import absolute_import
|
|
|
|
from django.contrib import admin
|
|
|
|
from .models import Website
|
|
|
|
|
|
admin.site.register(Website)
|