summaryrefslogtreecommitdiff
path: root/PythonTBC
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-06 23:10:02 +0530
committerJayaram R Pai2014-07-06 23:10:02 +0530
commit4c535a956e8a6d5bb9c0b124f4180fcf9d0275e9 (patch)
tree297c4033affb5f52cb8ff2009dfcc2edc7aef45e /PythonTBC
parent36e7f06608eb339082c2e905133bd7d83d9b36f0 (diff)
downloadPython-TBC-Interface-4c535a956e8a6d5bb9c0b124f4180fcf9d0275e9.tar.gz
Python-TBC-Interface-4c535a956e8a6d5bb9c0b124f4180fcf9d0275e9.tar.bz2
Python-TBC-Interface-4c535a956e8a6d5bb9c0b124f4180fcf9d0275e9.zip
added comments app
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')),
)