/usr/lib/python2.7/dist-packages/guardian/testapp/migrations/0002_logentrywithgroup.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 | from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('auth', '0001_initial'),
('admin', '0001_initial'),
('testapp', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='LogEntryWithGroup',
fields=[
('logentry_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='admin.LogEntry')),
('group', models.ForeignKey(blank=True, to='auth.Group', null=True)),
],
options={
},
bases=('admin.logentry',),
),
]
|