~panosl/+junk/django-attachments

1 by Martin Mahner
Initial structure and data
1
from django.conf.urls.defaults import *
2
3
urlpatterns = patterns('',
4
    url(r'^add-for/(?P<app_label>[\w\-]+)/(?P<module_name>[\w\-]+)/(?P<pk>\d+)/$', 'attachments.views.add_attachment', name="add_attachment"),
5
    url(r'^delete/(?P<attachment_pk>\d+)/$', 'attachments.views.delete_attachment', name="delete_attachment"),
6
)