Minor documentation fix
[flowspy] / longerusername / migrations / 0001_initial.py
1 # encoding: utf-8
2 from south.db import db
3 from south.v2 import SchemaMigration
4 from django.db import models
5 from longerusername import MAX_USERNAME_LENGTH
6
7 class Migration(SchemaMigration):
8
9     def forwards(self, orm):
10         # Changing field 'User.username'
11         db.alter_column('auth_user', 'username', models.CharField(max_length=MAX_USERNAME_LENGTH()))
12
13
14     def backwards(self, orm):
15
16         # Changing field 'User.username'
17         db.alter_column('auth_user', 'username', models.CharField(max_length=35))
18
19
20     models = {
21         
22     }
23
24     complete_apps = ['django_monkeypatches']