My favorites | Sign in
Project Home Wiki Issues
Checkout   Browse   Changes  
1
2
3
4
5
6
7
8
from django.db import models

from django_evolution.mutations import ChangeField


MUTATIONS = [
ChangeField('Session', 'expire_date', initial=None, db_index=True)
]

Change log

r199 by chipx86 on Nov 19, 2010   Diff
Add support for automatically evolving
changes to built-in Django models.

Django 1.3 alpha changed the database
schema for Session, setting db_index
to True on the expire_date field. This
requires a database schema, but there
was nothing in place for actually evolving
this schema.

We now have a place for providing
evolution data for built-in Django models.
...
Go to: 

Older revisions

All revisions of this file

File info

Size: 170 bytes, 8 lines
Powered by Google Project Hosting