* 'Mysite.urls"

2016-02-09 23:54 GMT-03:00 Thiago Reis <thiago...@gmail.com>:

> I believe it is because your (MySite) is in upper case.
>
> ROOT_URLCONF = 'mysite.urls'
>
> must be:
>
> ROOT_URLCONF = 'MySite.urls'
>
>
> 2016-02-09 23:47 GMT-03:00 Bipul Raj <bip...@gmail.com>:
>
>> I remember doing the django tutorial long time back, it just works.
>>
>> The import error means that file polls/urls.py is not there. Check may be
>> you have left "s" in ulrs. You might have created polls/url.py.
>>
>>
>> On 10 February 2016 at 04:05, <michaelatnanoc...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am running into the same problem as this:
>>>
>>> http://stackoverflow.com/questions/30493018/404-error-in-writing-your-first-django-app-tutorial
>>>
>>> Now I can just follow the Alasdair's recommendation and delete the
>>> polls/url.py file, but the tutorial is very clear about having two separate
>>> urls.py. <http://stackoverflow.com/users/113962/alasdair>
>>> Is this a mistake in the tutorial?
>>>
>>> I even copied and pasted the tutorials code and tried to run it and it
>>> still gave the same error:
>>> *ImportError: No module named 'polls.urls'*
>>>
>>> Very confusing for a first step tutorial, maybe this could be corrected
>>> if it is an issue?
>>>
>>> Kind Regards
>>> <http://stackoverflow.com/users/113962/alasdair>
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com.
>>> To post to this group, send email to django-users@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/44703fc1-518a-4a25-ae56-4a7b2992860a%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/44703fc1-518a-4a25-ae56-4a7b2992860a%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@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/CAHHn46SB%3Dhsx3pP5BBVVPmBbUb_eoiuzVGd5EwLVV8Djr7yVKw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAHHn46SB%3Dhsx3pP5BBVVPmBbUb_eoiuzVGd5EwLVV8Djr7yVKw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@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/CAHQaGTAG036H1hnX8zYmU939UrOZxj09ksEErY2wR%3Dv18dz3nA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to