diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-18 15:55:23 -0400 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-18 15:55:23 -0400 |
| commit | 5b2f6041e739be4810709ca49d0538279d3f549d (patch) | |
| tree | 8aba1c4a2d59e85a873bdcbb3327722b5e876ffa /app/dispatch/migrations/0002_auto_20171018_1602.py | |
| parent | 2c4f4a6a09feeb333f59cfc6c2d5d6c8e417599f (diff) | |
| download | dispatch-tracker-5b2f6041e739be4810709ca49d0538279d3f549d.tar.gz dispatch-tracker-5b2f6041e739be4810709ca49d0538279d3f549d.tar.xz | |
Added a delivered to field. File uploads work. Load detail view works properly now. File upload names are properly set. You can now delete uploaded files
Diffstat (limited to 'app/dispatch/migrations/0002_auto_20171018_1602.py')
| -rw-r--r-- | app/dispatch/migrations/0002_auto_20171018_1602.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/dispatch/migrations/0002_auto_20171018_1602.py b/app/dispatch/migrations/0002_auto_20171018_1602.py new file mode 100644 index 0000000..6446dd4 --- /dev/null +++ b/app/dispatch/migrations/0002_auto_20171018_1602.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.5 on 2017-10-18 16:02 +from __future__ import unicode_literals + +import dispatch.models +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('dispatch', '0001_initial'), + ] + + operations = [ + migrations.RemoveField( + model_name='paperwork', + name='filename', + ), + migrations.AddField( + model_name='load', + name='delivered_to', + field=models.CharField(default='', max_length=256), + ), + migrations.AlterField( + model_name='paperwork', + name='document', + field=models.FileField(upload_to=dispatch.models.paperwork_user_directory_path), + ), + ] |
