You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
1.0 KiB

"""Urls for the emencia.django.newsletter Tracking"""
from django.conf.urls import url
from django.conf.urls import patterns
from ..views.admin_views import count_popups
urlpatterns = patterns('emencia.django.newsletter.views.tracking',
url(r'^newsletter/count-popup/$', count_popups, name='newsletter_count_pupups'),
url(r'^newsletter/(?P<slug>[-\w]+)/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)\.(?P<format>png|gif|jpg)$',
'view_newsletter_tracking',
name='newsletter_newsletter_tracking'),
url(r'^link/(?P<slug>[-\w]+)/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/(?P<link_id>\d+)/$',
'view_newsletter_tracking_link',
name='newsletter_newsletter_tracking_link'),
url(r'^historic/(?P<slug>[-\w]+)/$',
'view_newsletter_historic',
name='newsletter_newsletter_historic'),
)