diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-09 20:05:44 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-09 20:05:44 -0400 |
commit | d589c9cd76693c4cb86c1d6878e51c2fc463ab28 (patch) | |
tree | 5168ce6cb78eecc2353d3f45dfd82e25c52ad440 /askbot/urls.py | |
parent | 4856a77e634aba169aae0db9861e1737049faff6 (diff) | |
download | askbot-d589c9cd76693c4cb86c1d6878e51c2fc463ab28.tar.gz askbot-d589c9cd76693c4cb86c1d6878e51c2fc463ab28.tar.bz2 askbot-d589c9cd76693c4cb86c1d6878e51c2fc463ab28.zip |
fixed question page urls and updated test cases
Diffstat (limited to 'askbot/urls.py')
-rw-r--r-- | askbot/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/urls.py b/askbot/urls.py index f4768412..799cc346 100644 --- a/askbot/urls.py +++ b/askbot/urls.py @@ -367,6 +367,8 @@ urlpatterns = patterns('', ), ) +#todo - this url below won't work, because it is defined above +#therefore the stackexchange urls feature won't work if getattr(settings, 'ASKBOT_USE_STACKEXCHANGE_URLS', False): urlpatterns += (url( r'^%s(?P<id>\d+)/' % _('questions/'), |