Hi,
at this page:
https://docs.djangoproject.com/en/1.9/intro/tutorial01/
I have got this far in the tutorial:
In the polls/urls.py file include the following code:
polls/urls.py
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.index, name='index'),]
>> url(r'^$, views.index, name='index'),
>
> Are you sure if you have closing single quote with *r'^$* ? I do not see
> it in error.
>
> On 2 February 2016 at 17:00, Russell Stanfield > wrote:
>
>> Hi,
>>
>> at this page:
>>
&
2 matches
Mail list logo