diff --git a/templates/mailman-django/lists/created.html b/templates/mailman-django/lists/created.html deleted file mode 100644 index 9f58a1d..0000000 --- a/templates/mailman-django/lists/created.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "mailman-django/base.html" %} -{% load i18n %} - -{% block links%} -{% url list_info fqdn_listname as url_list_info %} -{% url list_delete fqdn_listname as url_list_delete %} -{% blocktrans %} You can also subscribe or unsubscribe a user to the list "the normal way" or delete the list.{% endblocktrans %} -{% endblock %} - -{% block content %} - -

{% trans "List Created" %}

- -

Logout

- -

{% blocktrans %}The list {{ fqdn_listname }} has been created. What would you like to do next?{% endblocktrans %}

- - - -{% endblock %} diff --git a/views.py b/views.py index 3ab833c..2db9b6d 100644 --- a/views.py +++ b/views.py @@ -162,13 +162,10 @@ #settings["???"] = form.cleaned_data['list_type'] #TODO not found in REST #settings["???"] = form.cleaned_data['languages'] #TODO not found in REST settings.save() - return redirect("list_index") + return redirect("list_summary",fqdn_listname=mailing_list.fqdn_listname) except HTTPError, e: #TODO catch correct Error class - error = e - return render_to_response('mailman-django/lists/created.html', - {'list': mailing_list, - 'message':message, - 'error':error}, + return render_to_response('mailman-django/errors/generic.html', + {'error':e}, context_instance=RequestContext(request)) else: try: