Skip to content

Commit

Permalink
Added missing migration for testapp
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszb committed Nov 24, 2014
1 parent ba7fb6b commit 3b41775
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions guardian/testapp/migrations/0003_auto_20141124_0729.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import django.core.validators


class Migration(migrations.Migration):

dependencies = [
('testapp', '0002_logentrywithgroup'),
]

operations = [
migrations.CreateModel(
name='NonIntPKModel',
fields=[
('char_pk', models.CharField(max_length=128, serialize=False, primary_key=True)),
],
options={
},
bases=(models.Model,),
),
migrations.AlterField(
model_name='customuser',
name='username',
field=models.CharField(help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.', unique=True, max_length=30, verbose_name='username', validators=[django.core.validators.RegexValidator('^[\\w.@+-]+$', 'Enter a valid username.', 'invalid')]),
preserve_default=True,
),
]

0 comments on commit 3b41775

Please sign in to comment.