Debian Codegraph @

django_rq/migrations/0001_initial.py

raw
1 from django.db import migrations, models
2
3
4 class Migration(migrations.Migration):
5 """Create Django contenttype for queue"""
6
7 initial = True
8 dependencies = []
9 operations = [
10 migrations.CreateModel(
11 name='Queue',
12 fields=[
13 # Does not create any table / fields in the database
14 # Registers the Queue model as migrated
15 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
16 ],
17 options={
18 # Enables the Django contenttype framework for django_rq
19 'permissions': [['view', 'Access admin page']],
20 'managed': False,
21 'default_permissions': (),
22 },
23 ),
24 ]