diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-29 10:05:27 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-29 10:05:27 -0500 |
commit | cac685966eebdf61db777860eae946f9a039187f (patch) | |
tree | 7eaa5d1b72b1fda21355434f3f8d83a19f9a03f4 /dashboard/src/booking/migrations | |
parent | 93ac1cd683998a10c408069f72c421673f7ddfee (diff) |
Allow Users to Delete objects and Cancel Bookings
A user can now delete thier own resources, configs,
and snapshots as well as cancelling bookings.
Change-Id: Ic8e4751feeb0b8fa0d76816b8df2d16729ad2828
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/booking/migrations')
-rw-r--r-- | dashboard/src/booking/migrations/0004_auto_20190124_1700.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dashboard/src/booking/migrations/0004_auto_20190124_1700.py b/dashboard/src/booking/migrations/0004_auto_20190124_1700.py new file mode 100644 index 0000000..baa32d2 --- /dev/null +++ b/dashboard/src/booking/migrations/0004_auto_20190124_1700.py @@ -0,0 +1,20 @@ +# Generated by Django 2.1 on 2019-01-24 17:00 + +from django.conf import settings +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('booking', '0003_auto_20190115_1733'), + ] + + operations = [ + migrations.AlterField( + model_name='booking', + name='owner', + field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='owner', to=settings.AUTH_USER_MODEL), + ), + ] |