planetshwoop wrote:
> Ramiro Morales wrote:
> > brian,
> >
> > On 6/10/06, planetshwoop <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > I'm trying to get my first app/project started on Django.  I've created
> > > my first model, but am unable to access the admin site.  I continue to
> > > get the error "ImportError at /admin/" "No module named admin"
> > >
> > > My hunch is that I have some path misconfigured, since it sounds like
> > > python can't find the model?  But after lots of searching I haven't
> > > been able to figure it out.  Any help is appreciated.
> > >
> > > [...]
> > >
> > > I'm running python 2.4.3 on Ubuntu (recently updated from Badger to
> > > Drake).
> > >
> >
> > All your setting seem fine. Are you running the django development web
> > server buy running ...mysite/manage.py runserver ?
>
> Yes....
>
> > If so, make sure the invocation of a bare python effectively lauches
> > your python 2.4 interpreter and not a 2.3 "leftover" one from Breezy
> > Badger.
>
> yup.... python -V emits python 2.4.3

Solved.  Yeah!

The problem was that I had mistakenly installed django-0.91.  I had
deleted most of the files from /usr/lib, but didn't know that
django-admin.py was copied into /usr/bin.

Once I deleted the old django-admin.py (which had references to ==0.91)
and symlinked the latest development version, everything worked ok.

brian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to