diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-08-01 10:55:23 -0400 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-08-01 10:55:23 -0400 |
| commit | 8df0bda39f6c7e56e6f8f4e59b42c8b82aeb750b (patch) | |
| tree | b63a1c5b2d5bb5ca6a1902de45889e8d7e403736 /app/dispatch/models.py | |
| parent | 3c04b55a9734f45b93eafbae19f29544adb20f9b (diff) | |
| download | dispatch-tracker-8df0bda39f6c7e56e6f8f4e59b42c8b82aeb750b.tar.gz dispatch-tracker-8df0bda39f6c7e56e6f8f4e59b42c8b82aeb750b.tar.xz | |
Schema and template updates
Diffstat (limited to 'app/dispatch/models.py')
| -rw-r--r-- | app/dispatch/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/dispatch/models.py b/app/dispatch/models.py index 16703fd..f97c42b 100644 --- a/app/dispatch/models.py +++ b/app/dispatch/models.py @@ -25,8 +25,8 @@ class Contact(models.Model): class Load(models.Model): date = models.DateField() - user = models.OneToOneField(settings.AUTH_USER_MODEL) - company = models.OneToOneField(Company) + user = models.ForeignKey(settings.AUTH_USER_MODEL) + company = models.ForeignKey(Company) description = models.CharField(max_length=256) amount = models.DecimalField(max_digits=10,decimal_places=2) |
