error using Django.setup()

Asked

Viewed 26 times

1

I’m trying to call the job django.setup() in version Django. 1.4, I saw that it was implemented only in 1.7. Is there any function like this that I can update, the solution would only update Django?

  • I don’t remember that method setup(). What do you want to do?

1 answer

0

Are you trying to use Django resources in scripts external to the framework? If so, this post here can help you.

But, apart from some very specific needs of your project, the ideal is that you always use the latest stable version of Django (of any software, in fact) or at least some version that is still receiving security updates. The 1.4 LTS series came to an end on October 1, 2015, and the feature you’re really looking for is only available from version 1.7 onward.

Here you can check the release schedule and respective support periods of the framework versions.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.