Re: about tutorial "app reusable section" issue

2017-05-01 Thread 'Abraham Varricatt' via Django users
Hello Xuanbei, You are most likely getting that erro because you still have 'polls' mentioned inside INSTALLED_APPS within your settings.py file. On a different note, can you link to the tutorial you are following? I don't recall the official django tutorial instructing to install polls via p

about tutorial "app reusable section" issue

2017-04-30 Thread Xuanbei Lu
Hi Django experts, I'm new to django. I followed up the tutorial and everything is right on the way until the re-use app section. According to the tutorial, after packaging and installing the polls app using pip, I removed the directory 'polls' in 'mysite'. Then when I try to run "python manage

Re: about tutorial

2008-12-03 Thread Alan
In fact I found the problem. If I had finished part 4 of the tutorial I would have any issue. Method 'vote' is created there and now everything works fine. Sorry for being hurry. Cheers, Alan On Wed, Dec 3, 2008 at 15:24, bruno desthuilliers < [EMAIL PROTECTED]> wrote: > > On 3 déc, 13:22, Alan

Re: about tutorial

2008-12-03 Thread bruno desthuilliers
On 3 déc, 13:22, Alan <[EMAIL PROTECTED]> wrote: > Hi, so I did the tutorial and did a simple modification in order to > get 'polls' views and 'admin' view too but I am failing. > > It's that: > > for mysite/urls.py: > from django.conf.urls.defaults import * > from django.contrib import admin > ad

about tutorial

2008-12-03 Thread Alan
Hi, so I did the tutorial and did a simple modification in order to get 'polls' views and 'admin' view too but I am failing. It's that: for mysite/urls.py: from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^admin/(.*)'