mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-20 15:02:31 +00:00
Added migration & sample form type/schema
This commit is contained in:
@@ -19,6 +19,9 @@ class Migration(migrations.Migration):
|
|||||||
('data', models.TextField(default=b'{}')),
|
('data', models.TextField(default=b'{}')),
|
||||||
('event', models.ForeignKey(related_name='forms', to='RIGS.Event')),
|
('event', models.ForeignKey(related_name='forms', to='RIGS.Event')),
|
||||||
],
|
],
|
||||||
|
options={
|
||||||
|
'permissions': (('create_form', 'Can complete a form'), ('update_form', 'Can change a form'), ('view_form', 'Can view forms')),
|
||||||
|
},
|
||||||
bases=(models.Model, RIGS.models.RevisionMixin),
|
bases=(models.Model, RIGS.models.RevisionMixin),
|
||||||
),
|
),
|
||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
|
|||||||
Reference in New Issue
Block a user