yes, that was it, thanks it's running now
On Tuesday, February 2, 2016 at 2:16:45 PM UTC, 林攀 wrote:
>
> url(r'^/$, views.index, name='index'),
>
>
>
>
>
> --
> *林攀*
>
> At 2016-02-02 20:35:58,"Bipul Raj" wrote:
>
> >> url(r'^$, views.index, name='index'),
>
> Are you
SHould be
url(r'^$', views.index , name='index')
you have missed '
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Tue, Feb 2, 2016 at 3:58 PM, 林攀 <18610710...@163.com> wrote:
> url(r'^/$, views.index, name='index'),
>
>
>
>
>
> --
> *林攀*
>
> At 2016-02-02 20:35:58,"Bipul Raj"
url(r'^/$, views.index, name='index'),
--
林攀
At 2016-02-02 20:35:58,"Bipul Raj" wrote:
>> 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
>> 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:
>
>
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'),]
5 matches
Mail list logo