fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor changes
[prawokultury.git]
/
questions
/
urls.py
diff --git
a/questions/urls.py
b/questions/urls.py
index
9930956
..
2f3c5f2
100755
(executable)
--- a/
questions/urls.py
+++ b/
questions/urls.py
@@
-14,7
+14,7
@@
urlpatterns = patterns('',
name="questions"
),
url(r'^(?P<pk>\d+)/$',
- DetailView.as_view(
model=Question
),
+ DetailView.as_view(
queryset=Question.objects.filter(published=True)
),
name="questions_question"),
url(r'^pytanie/$',
QuestionFormView.as_view(),