Hi all,
I was doing ok
until
https://docs.djangoproject.com/en/1.11/intro/tutorial03/#namespacing-url-names
part. Not sure what happened.
The error is NoReverseMatch at /poll
"Reverse for 'detail' not found. 'detail' is not a valid view function or
pattern name."
"Error during template ren
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
two problems: you're just returning a string in your response, not the
template.
Nor are you using the context dict anywhere.
Look at the example in the tutorial:
https://docs.djangoproject.com/en/2.0/intro/tutorial03/#a-shortcut-render
How does your index method differ from what's there?
--
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
Thanks so much everyone. I looked over those files many times and I
couldn't see it.
On Tuesday, October 18, 2016 at 5:17:55 PM UTC-4, James Schneider wrote:
>
>
>
> On Tue, Oct 18, 2016 at 11:00 AM, Johnny McClung > wrote:
>
>> I have gotten down to the part where the tutorial reads "Load th
On Tue, Oct 18, 2016 at 11:00 AM, Johnny McClung
wrote:
> I have gotten down to the part where the tutorial reads "Load the page by
> pointing your browser at “/polls/”, and you should see a bulleted-list
> containing the “What’s up” question from Tutorial 2. The link points to the
> question’s d
NYC
On Oct 19, 2016 12:57 AM, "Vijay Khemlani" wrote:
> You wrote "latest_quesion_list" in the context dictionary key, it should
> be "latest_question_list"
>
> On Tue, Oct 18, 2016 at 3:00 PM, Johnny McClung
> wrote:
>
>> I have gotten down to the part where the tutorial reads "Load the page b
You wrote "latest_quesion_list" in the context dictionary key, it should be
"latest_question_list"
On Tue, Oct 18, 2016 at 3:00 PM, Johnny McClung wrote:
> I have gotten down to the part where the tutorial reads "Load the page by
> pointing your browser at “/polls/”, and you should see a bullete
I have gotten down to the part where the tutorial reads "Load the page by
pointing your browser at “/polls/”, and you should see a bulleted-list
containing the “What’s up” question from Tutorial 2. The link points to the
question’s detail page."
I do not see a bulleted-list. All I see is "No po
9 matches
Mail list logo