urls.py 232 Bytes
Newer Older
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
1
2
3
4
from django.conf.urls import url

from . import views

5
6
app_name = "newsletters"

Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
7
8
9
10
urlpatterns = [
    url('^(?P<pk>\d+)/$', views.preview, name='preview'),
    url(r'admin/send/(?P<pk>\d+)/$', views.admin_send, name='admin-send'),
]