On Thu, Jan 27, 2011 at 12:22 PM, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 27/01/2011 2:35pm, Casual Coder wrote: >>>>> >>>>> import django >>>>> django.VERSION >> >> (0, 96.400000000000006, None) >> >>>>> django.get_version() >> >> Traceback (most recent call last): >> File "<console>", line 1, in<module> >> AttributeError: 'module' object has no attribute 'get_version' >> > > Maybe Django version 0.96 didn't use a get_version() function?
No, it didn't. get_version() was added in v1.0. > Have a look inside <path to>/site-packages/django/__init__.py to see what is > happening. > > If you are just beginning with django it would be better to start with a > more up-to-date version. I recommend using the development version but if > that worries you then at least the most recent production release. > > I don't know for sure but I wouldn't be surprised if 0.96 is no longer > supported. No, it isn't, and 0.96 hasn't been supported in *any* capacity for almost a year. For a year prior to that, it only received critical security updates. There are quite a few very important differences between 0.96 and 1.0 -- if you're just starting out, you *definitely* want to be using a recent release. Django 1.2 is the currently stable supported version; a new stable version (1.3) is due out very soon (hopefully within a couple of weeks). 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 django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.