mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +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'{}')),
|
||||
('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),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
|
||||
Reference in New Issue
Block a user