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
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
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
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
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/(.*)'
5 matches
Mail list logo