Source

django-private-media / private_media / urls.py

Full commit
1
2
3
4
5
6
7
8
9
from django.conf.urls.defaults import patterns, url


urlpatterns = patterns('private_media.views',
    url(r'^(\d+)/(.+)/([a-zA-Z_][0-9a-zA-Z_]*)/(.+)$', 'get_file',
        name='private_media-get_file'),
    url(r'^([0-9a-zA-Z_-]+)/(.+)$', 'get_file_enc',
        name='private_media-get_file_enc'),
)