/usr/lib/python2.7/dist-packages/guardian/testapp/migrations/0003_auto_20141124_0729.py is in python-django-guardian 1.2.4+git20141127-0.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 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,
),
]
|