Much appreciated :)

M

On 29/03/2010 11:10am, Russell Keith-Magee wrote:
On Mon, Mar 29, 2010 at 8:07 AM, Mike Dewhirst<[email protected]>  wrote:
Can someone kindly tell me how I can detect which subversion revision of
Django is actually installed on my machine?

I need to re-install the exact same revision on another platform.

It is probably staring me in the face but I must be looking elsewhere.

Yup :-)

import django
django.get_version()
'1.2 beta 1'

If you're installing from a SVN repository, you'll get an SVN revision too:

django.get_version()
'1.2 beta 1 SVN-12843'

Yours,
Russ Magee %-)


--
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