summaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2014-02-19 09:29:17 +0200
committerFilipp Lepalaan <f@230.to>2014-02-19 09:29:17 +0200
commitcfc7c3f52544af8a71d3fa3988a06fee200d2c24 (patch)
treef5eecbb882aea800e9b0707a831f6569de07a853 /it
parentd3e089b71b64cfc1f9f96be141f41806ce5b9e77 (diff)
downloadpudding-cfc7c3f52544af8a71d3fa3988a06fee200d2c24.tar.gz
pudding-cfc7c3f52544af8a71d3fa3988a06fee200d2c24.tar.bz2
pudding-cfc7c3f52544af8a71d3fa3988a06fee200d2c24.zip
better
Diffstat (limited to 'it')
-rw-r--r--it/settings.py3
-rw-r--r--it/urls.py9
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')
diff --git a/it/urls.py b/it/urls.py
index e57ae45..3a26f43 100644
--- a/it/urls.py
+++ b/it/urls.py
@@ -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'),
)