Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating to Django 1.4

I'm currently developing a website in Django v1.2.7. That's the version as per requirements, but I think I could change it without problems. I was thinking about using v1.3 (because of class-based views, etc), but the version 1.4 was released a few weeks ago. My questions are:

  • Does it worth migrating to Django 1.4?
  • What incompatibilities could I face when updating the version?
like image 528
Oscar Mederos Avatar asked Apr 04 '12 05:04

Oscar Mederos


People also ask

How does migration work in Django?

Migrations are Django's way of propagating changes you make to your models (adding a field, deleting a model, etc.) into your database schema. They're designed to be mostly automatic, but you'll need to know when to make migrations, when to run them, and the common problems you might run into.

What is Makemigrations and migrate in Django?

Makemigrations and migrate are commands that are used to interact with Django models. Makemigrations : This command prepares a makemigrations file for our new model, or creates a new migrations file for any changes if the models have been modified. This command does not create or affect these changes to the database.


1 Answers

Both your questions are answered at the release page for 1.4

like image 180
Burhan Khalid Avatar answered Oct 10 '22 13:10

Burhan Khalid