diff --git a/urls.py b/urls.py index 3a3f4ad..42a2e8f 100644 --- a/urls.py +++ b/urls.py @@ -21,6 +21,7 @@ urlpatterns = patterns('mailman_django.views', (r'^$', 'list_index'), + url(r'^administration/', 'administration', name = 'administration'), url(r'^domains/', 'domains', name = 'domains'), url(r'^lists/$', 'list_index', name = 'list_index'), url(r'^lists/new/$', 'list_new', name = 'list_new'), diff --git a/views.py b/views.py index 7b96259..6c6c011 100644 --- a/views.py +++ b/views.py @@ -107,6 +107,15 @@ return render_to_response(template, {'form': form,'domains':existing_domains}) @login_required +def administration(request, template = 'mailman-django/lists/new.html'): + """ + Administration dashboard used for Menu navigation + """ + + return render_to_response('mailman-django/errors/generic.html', + {'message': "This Site is in preperation."})#TODO + +@login_required def list_new(request, template = 'mailman-django/lists/new.html'): """ Add a new mailing list.