diff --git a/OACPL/urls.py b/OACPL/urls.py index 52dc719..b6f0877 100644 --- a/OACPL/urls.py +++ b/OACPL/urls.py @@ -37,7 +37,6 @@ urlpatterns = [ url(r'^logout/', main.views.logout, name='logout'), url(r'^media/secure/(?P.*)$', protected_serve, {'document_root': os.path.join(settings.MEDIA_ROOT, 'secure')}, name='secure media'), url(r'^media/(?P.*)$', serve, {'document_root': settings.MEDIA_ROOT}, name='media'), - url(r'^newsletter/subscribe', newsletters.views.subscribe, name='subscribe'), url(r'^newsletter/', newsletters.views.newsletters, name='newsletters'), url(r'^tinymce/', include('tinymce.urls')) ] diff --git a/newsletters/templates/newsletters.html b/newsletters/templates/newsletters.html index 1bac8de..047bad0 100644 --- a/newsletters/templates/newsletters.html +++ b/newsletters/templates/newsletters.html @@ -15,16 +15,20 @@
{% if request.user.is_anonymous %} - + {% endif %} {% for newsletter in newsletters %}