Added view to add a document to a folder directly from the document detail view

This commit is contained in:
Roberto Rosario
2011-04-18 04:31:44 -04:00
parent 5084f7c871
commit 2cf8b05bfa
7 changed files with 70 additions and 35 deletions
+2
View File
@@ -7,4 +7,6 @@ urlpatterns = patterns('folders.views',
url(r'^(?P<folder_id>\d+)/edit/$', 'folder_edit', (), 'folder_edit'),
url(r'^(?P<folder_id>\d+)/delete/$', 'folder_delete', (), 'folder_delete'),
url(r'^(?P<folder_id>\d+)/$', 'folder_view', (), 'folder_view'),
#url(r'^(?P<folder_id>\d+)/add_document/(?P<folder_id>\d+)/$', 'folder_add_document', (), 'folder_add_document'),
url(r'^add_document/(?P<document_id>\d+)/$', 'folder_add_document', (), 'folder_add_document'),
)