diff options
Diffstat (limited to 'it')
-rw-r--r-- | it/settings.py | 3 | ||||
-rw-r--r-- | it/urls.py | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/it/settings.py b/it/settings.py index 9512a31..5b348d7 100644 --- a/it/settings.py +++ b/it/settings.py @@ -36,6 +36,7 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'django.contrib.humanize', 'south', 'bootstrap3', 'apps.it', ) @@ -86,3 +87,5 @@ STATIC_URL = '/static/' TEMPLATE_LOADERS = ( 'django.template.loaders.app_directories.Loader', ) + +MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads') @@ -12,6 +12,13 @@ urlpatterns = patterns('apps.it', url(r'^issues/(\d+)/edit/$', 'views.edit_issue', name='edit_issue'), url(r'^issues/(\d+)/tasks/add/$', 'views.edit_task', name='add_task'), url(r'^issues/(\d+)/tasks/(\d+)/$', 'views.edit_task', name='edit_task'), - url(r'^issues/(\d+)/metoo/(\d+)/$', 'views.metoo', name='metoo'), + url(r'^tasks/(\d+)/delete/$', 'views.delete_task', name='delete_task'), + url(r'^issues/(\d+)/users/(\d+)/add/$', 'views.metoo', name='metoo'), + url(r'^issues/(\d+)/users/(\d+)/remove/$', 'views.remove_user', name='remove_user'), url(r'^issues/(\d+)/files/add/$', 'views.add_files', name='add_files'), + + url(r'^stuff/$', 'views.list_stuff', name='list_stuff'), + url(r'^stuff/(\d+)/$', 'views.view_asset', name='view_asset'), + + url(r'^files/(\d+)/delete/$', 'views.delete_file', name='delete_file'), ) |