On Wed, Oct 8, 2008 at 3:28 AM, NoviceSortOf <[EMAIL PROTECTED]> wrote:

>
> > What version of Django are you running?  These two patterns are from
> > different Django versions.  The first, with the include of
> > 'django.contrib.admin.urls' was the old one -- that file does not exist
> in
> > Django 1.0.  The 2nd pattern, referring to 'admin.site.root', is what
> should be used for Django 1.0.
>
> >>>VERSION
> returns
> >>>1.0 Final
>
> I'm am though concerned that there may be a duplicate installation
> on this machine.
>
> These 3 directories seem to contain many redundant files.
>
> /var/www/Django-1.0/django/
> /var/www/django-trunk/django/
>
> /usr/lib/python2.3/site-packages/django/
>
> How do I determine if one of these directories
> contains a duplicate installation and which
> one is the latest?
>

You need to figure out which one Apache is using.  You could either look at
its config or write a view that shows you the contents of sys.path when your
code is running under Apache (or both, to make sure they agree so that you
are sure the config you look at matches what your code is actually running
under).  Only one of those directories should be in the path when running.
Once you figure out which one Apache is using, set up your own command-line
environment to match and use django.get_version() to see what level it is.

Karen

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

Reply via email to