Commit fb408a99 by Rocky Duan

add discussion app & url conf

parent 9abc8883
...@@ -483,6 +483,9 @@ INSTALLED_APPS = ( ...@@ -483,6 +483,9 @@ INSTALLED_APPS = (
# For testing # For testing
'django_jasmine', 'django_jasmine',
# Discussion
'django_comment_client',
# For Askbot # For Askbot
'django.contrib.sitemaps', 'django.contrib.sitemaps',
'django.contrib.admin', 'django.contrib.admin',
......
...@@ -156,6 +156,9 @@ if settings.ASKBOT_ENABLED: ...@@ -156,6 +156,9 @@ if settings.ASKBOT_ENABLED:
# url(r'^robots.txt$', include('robots.urls')), # url(r'^robots.txt$', include('robots.urls')),
) )
# discussion
urlpatterns += (url(r'^discussions/', include('django_comment_client.urls')), )
if settings.DEBUG: if settings.DEBUG:
## Jasmine ## Jasmine
urlpatterns=urlpatterns + (url(r'^_jasmine/', include('django_jasmine.urls')),) urlpatterns=urlpatterns + (url(r'^_jasmine/', include('django_jasmine.urls')),)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment