Fix compatibility issues with Django 1.6.

Review Request #5365 — Created Jan. 31, 2014 and submitted

Information

Django Evolution
master

Reviewers

Fix compatibility issues with Django 1.6.

Django 1.6 replaced Model._meta.module_name with Model._meta.model_name.
The old attribute is readable via a property, but can no longer be
written to.

The only code that cared was our test model registration code. There's
now wrapper functions for reading and setting this, and will set the new
variable if it exists.

Unit tests passed for MySQL, SQLite3, and PostgreSQL, with Django 1.4, 1.5 and 1.6.

david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed