~panosl/+junk/django-attachments

« back to all changes in this revision

Viewing changes to attachments/urls.py

  • Committer: Martin Mahner
  • Date: 2009-05-07 21:29:55 UTC
  • Revision ID: git-v1:cbc963eba8c3edbdce5230364c59f2d402dce129
Initial structure and data

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
)
 
 
b'\\ No newline at end of file'