n latest_question_list %}
{{
question.question_text }}
{% endfor %}
{% else %}
No polls are available.
{% endif %}
Can you help please? Thank you.
On Monday, 16 July 2018 13:22:23 UTC+1, premalatha balan wrote:
>
> Thank you so much. I have corrected the return including the context dict
Thank you so much. I have corrected the return including the context dict
now. Thank you. It has solved it. Thank you again.
On Monday, 16 July 2018 13:13:08 UTC+1, Jason wrote:
>
> two problems: you're just returning a string in your response, not the
> template.
> Nor are you using the contex
Hi,
I am having the same problem that it does not display bulleted list, but I
do not have a typo. Below is what I have got.
*mysite>>polls>>view.py*
from django.http import HttpResponse
from django.template import loader
from .models import Question
def index(request):
latest_question_list
3 matches
Mail list logo