mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Add forms, views, templates and URLs. Remove created at in favour of the built in versioning as that's much more accurate. Switch to a OneToOneField with EventAuthorisation -> event as a result of this. Move validation from models to forms where it probably belongs. Provide more descriptive errors. Add success page for authorisation.
20 lines
464 B
Python
20 lines
464 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('RIGS', '0026_remove_eventauthorisation_created_at'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='eventauthorisation',
|
|
name='event',
|
|
field=models.OneToOneField(related_name='authorisation', to='RIGS.Event'),
|
|
),
|
|
]
|