I'm trying to call the django.setup()
function in the django version. 1.4, I saw that it was only implemented in 1.7.
Is there any function similar to the one I can update, would the solution just update django?
I'm trying to call the django.setup()
function in the django version. 1.4, I saw that it was only implemented in 1.7.
Is there any function similar to the one I can update, would the solution just update django?
Are you trying to use Django features in scripts external to the framework? If so, this post here can help you.
But, taking some very specific needs from your project, ideally you should always use the latest stable version of Django (from any software, actually) or at least some version that is still receiving security updates. The 1.4 LTS series has reached its end of life on October 1, 2015, and the feature you're really looking for is only available from version 1.7 onwards.
Here you can check the release schedule and respective support periods of the framework versions.