summaryrefslogtreecommitdiff
path: root/PythonTBC
diff options
context:
space:
mode:
Diffstat (limited to 'PythonTBC')
-rw-r--r--PythonTBC/settings.py4
-rw-r--r--PythonTBC/urls.py1
2 files changed, 4 insertions, 1 deletions
diff --git a/PythonTBC/settings.py b/PythonTBC/settings.py
index 51f4364..e2cafba 100644
--- a/PythonTBC/settings.py
+++ b/PythonTBC/settings.py
@@ -119,7 +119,8 @@ TEMPLATE_DIRS = (
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
join(PROJDIR, '../tbc/templates'),
- join(PROJDIR, '../tbc/static/uploads')
+ join(PROJDIR, '../tbc/static/uploads'),
+ join(PROJDIR, '../comments/templates')
)
INSTALLED_APPS = (
'django.contrib.auth',
@@ -133,6 +134,7 @@ INSTALLED_APPS = (
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'tbc',
+ 'comments',
)
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
diff --git a/PythonTBC/urls.py b/PythonTBC/urls.py
index 7664952..d75e545 100644
--- a/PythonTBC/urls.py
+++ b/PythonTBC/urls.py
@@ -14,5 +14,6 @@ urlpatterns = patterns('',
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
+ url(r'^comments/', include('comments.urls')),
url(r'^', include('tbc.urls', namespace='tbc')),
)