diff --git a/context_processors.py b/context_processors.py index b048163..78aea92 100644 --- a/context_processors.py +++ b/context_processors.py @@ -9,7 +9,7 @@ """ domain_lists = [] message = "" - if "HTTP_HOST" in request.META.keys() : + if "HTTP_HOST" in request.META.keys() :#TODO only lists of current domains if possible #get the URL web_host = request.META["HTTP_HOST"].split(":")[0] #querry the Domain object diff --git a/forms.py b/forms.py index b326224..298bb1a 100644 --- a/forms.py +++ b/forms.py @@ -172,7 +172,7 @@ layout = [["List Details", "listname", "mail_host", "list_owner", "description", "list_type"], ["Available Languages", "languages"]] -class ListSubscribe(forms.Form): +class ListSubscribe(FieldsetForm): """Form fields to join an existing list. """ listname = forms.EmailField( @@ -207,7 +207,7 @@ """ layout = [["Subscribe", "email","real_name"]] -class ListUnsubscribe(forms.Form): +class ListUnsubscribe(FieldsetForm): """Form fields to leave an existing list. """ listname = forms.EmailField( diff --git a/templates/mailman-django/lists/index.html b/templates/mailman-django/lists/index.html index 0cc8657..50e6e49 100644 --- a/templates/mailman-django/lists/index.html +++ b/templates/mailman-django/lists/index.html @@ -17,7 +17,7 @@