Lynn, you should really start your own thread. If you have an error,
copy/paste it entirely, this make debugging a lot easier. And don't​
hesitate to share your code.
There is a lot of things that can go wrong when we begin and most give more
or less the same result.
On 12 Apr 2017 9:27 pm, "Lyn
In the first case he mispelled "urlpatters", it should be "urlpatterns"
(notice the n)
On Wed, Apr 12, 2017 at 3:47 PM, Lynn Capps wrote:
> Shah,
>
> Did you get this figured out? I am having the same issue as you did.
>
>
>
> On Friday, December 9, 2016 at 1:50:22 PM UTC-6, shah wrote:
>>
>> Hi
Shah,
Did you get this figured out? I am having the same issue as you did.
On Friday, December 9, 2016 at 1:50:22 PM UTC-6, shah wrote:
>
> Hi, I am facing the same issue with the tutorial.
>
> I have got my program correct. But after running the sever. It shows an
> error on chrome.
>
> Page
Missing comma on you urlpatterns
urlpatterns = [
url(r'^polls/', include('polls.urls'))* ,*
url(r'^admin/', admin.site.urls),
]
On Fri, Dec 9, 2016 at 4:10 PM, shah wrote:
> Hi, I am facing the same issue with the tutorial.
>
> I have got my program correct. But after running the se
Hi, I am facing the same issue with the tutorial.
I have got my program correct. But after running the sever. It shows an
error on chrome.
Page not found (404)
Request Method: GET
Request URL: http://localhost:8000/polls/
Using the URLconf defined in mysite.urls, Django tried these URL patterns
In polls/url.py patterns is missing the N.
Dylan
On Mon, Oct 10, 2016 at 5:24 PM, Johnny McClung wrote:
> Thank you. I've added the comma as you mentioned. Can't believe I missed
> that. But now I am getting a new error.
>
>
>
> E:\Dropbox\Python Scripts\mysite>python manage.py runserver
> Perf
Thank you. I've added the comma as you mentioned. Can't believe I missed
that. But now I am getting a new error.
E:\Dropbox\Python Scripts\mysite>python manage.py runserver
Performing system checks...
Unhandled exception in thread started by .wrapper at 0x044B16A8>
Traceback (most recent call
try to swap both statement
On Tue, Oct 11, 2016 at 2:13 AM, Tim Graham wrote:
> Add a comma after: url(r'^polls/', include('polls.urls'))
> (these are items in a list, separated by a comma)
>
>
> On Monday, October 10, 2016 at 4:42:30 PM UTC-4, Johnny McClung wrote:
>>
>> I am getting an error
Add a comma after: url(r'^polls/', include('polls.urls'))
(these are items in a list, separated by a comma)
On Monday, October 10, 2016 at 4:42:30 PM UTC-4, Johnny McClung wrote:
>
> I am getting an error when I try to run the Django server.
>
> >> mysite >> polls >> urls.py
> from django.conf.ur
I am getting an error when I try to run the Django server.
>> mysite >> polls >> urls.py
from django.conf.urls import url
from . import views
urlpatters = [
url(r'^$', views.index, name='index'),
]
>> mysite >> mysite >> urls.py
from django.conf.urls import include, url
from django
10 matches
Mail list logo