From 5b2f6041e739be4810709ca49d0538279d3f549d Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Wed, 18 Oct 2017 15:55:23 -0400 Subject: 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 --- app/dispatch/migrations/0002_auto_20171018_1602.py | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 app/dispatch/migrations/0002_auto_20171018_1602.py (limited to 'app/dispatch/migrations/0002_auto_20171018_1602.py') 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), + ), + ] -- cgit v1.2.3