Hi,
I am very new to Python and Django but not to programming. I have
been programming for 30 years. That said I am trying to work my way thru
the Django tutorial part 1 and I am confronted with the following error I
can't get past:
Traceback (most recent call last):
File "urls.py", line 3, in
Thank you for the response. Since there are 2 of them I have posted both.
I have highlighted in yellow the places where they reside. I have also
attached the outer directory structure showing c:\djangoprojects and also a
shot of the mysite structure. I set this up as per the tutorial
instru
ad
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 662, in exec_module
File "", line 222, in
_call_with_frames_removed
File "c:\djangoprojects\mysite\polls\urls.py", line 3, in
impo
I tried your solution and had the same results
from django.conf.urls import include, url
from django.contrib import admin
from polls import views
urlpatterns = [
url(r'^polls/', include('polls.urls')),
url(r'^admin/', admin.site.urls),
]
RESULTS
Traceback (most recent call last):
File
.
On Sunday, January 31, 2016 at 6:18:10 PM UTC-5, suabiut wrote:
> What is your app name? are you sure the name is polls??. The solution i
> mention works.
>
> On Mon, Feb 1, 2016 at 9:32 AM, jfragos via Django users <
> django...@googlegroups.com > wrote:
>
>> I t
5 matches
Mail list logo