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.
18 lines
590 B
18 lines
590 B
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
from aldryn_people.views import PersonView, DownloadVcardView
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^(?P<pk>[0-9]+)/$',
|
|
PersonView.as_view(), name='person-detail'),
|
|
url(r'^(?P<slug>[A-Za-z0-9_\-]+)/$',
|
|
PersonView.as_view(), name='person-detail'),
|
|
url(r'^(?P<pk>[0-9]+)/download/$',
|
|
DownloadVcardView.as_view(), name='download_vcard'),
|
|
url(r'^(?P<slug>[A-Za-z0-9_\-]+)/download/$',
|
|
DownloadVcardView.as_view(), name='download_vcard'),
|
|
)
|
|
|