diff options
author | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-08-18 23:43:15 -0600 |
---|---|---|
committer | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-08-18 23:45:05 -0600 |
commit | 9c7c3219ea81dd51a1ac8b9f7694cb633e4c9bbd (patch) | |
tree | ce8a02b7c911c0d40989613db0ce8b220d88b3f3 /askbot/urls.py | |
parent | ab51143f258e7d315fb12db9b12537b038707180 (diff) | |
download | askbot-9c7c3219ea81dd51a1ac8b9f7694cb633e4c9bbd.tar.gz askbot-9c7c3219ea81dd51a1ac8b9f7694cb633e4c9bbd.tar.bz2 askbot-9c7c3219ea81dd51a1ac8b9f7694cb633e4c9bbd.zip |
Modified the question widget view to match the new style,
added test case for this one,
Modified the migration number 0135 to add the question widget table
TODO: real life testing.
Diffstat (limited to 'askbot/urls.py')
-rw-r--r-- | askbot/urls.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/askbot/urls.py b/askbot/urls.py index c55e552e..df3a910a 100644 --- a/askbot/urls.py +++ b/askbot/urls.py @@ -433,16 +433,11 @@ urlpatterns = patterns('', views.widgets.list_widgets, name = 'list_widgets' ), - #url( - # r'^%s%s$' % (_('widgets/'), _('questions/')), - # views.widgets.widget_questions, - # name='widget_questions' - #), - #url( - # r'^widgets/questions/(?P<widget_id>\d+)/$', - # views.widgets.question_widget, - # name = 'question_widget' - #), + url( + r'^widgets/questions/(?P<widget_id>\d+)/$', + views.widgets.question_widget, + name = 'question_widget' + ), url( r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', |