On Tuesday 19 May 2009 10:47:05 am VidrSan wrote:
> How can I see django version on my web-server? Just python's code,
> beaucause I can't find any information on hosting
An addendum to others' replies - since I have several django sites still
around that were made with different releases of django from the past two
years, I like to put this in my settings.py:
{{{
from django import VERSION as DJANGO_VERSION
assert (1,1) == DJANGO_VERSION[:2], DJANGO_VERSION
}}}
(If, for example, this particular django site is expecting version 1.1.)
--
Aaron Maxwell
http://redsymbol.net/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---