cannot view question_text in the main page

15 views
Skip to first unread message

Siddharth Shah

unread,
Jan 24, 2016, 2:22:36 PM1/24/16
to Django users
Hi,

I've been trying to use index.html to view the question_text as hyperlinks in bullet format. But i cannot view the text. I think the problem is that django is not able to resolve question objects from latest_question_list in index.html

When i click on the question_text, it gives me an error.
Kindly help.
home page.png
Untitled.png

James Schneider

unread,
Jan 24, 2016, 2:46:45 PM1/24/16
to django...@googlegroups.com

What does the view and template code look like?  I suspect you are using {{ question.id }} inside of a {% url %} tag.

-James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/610bcb34-1304-47f6-886e-8f552704986f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages