MAINT: Upgrade to Django 1.11 (#45)
This commit is contained in:
parent
17899ad7c7
commit
a482019a81
15 changed files with 101 additions and 67 deletions
|
@ -32,7 +32,8 @@ class Grant(models.Model):
|
|||
|
||||
|
||||
class GrantReport(models.Model):
|
||||
grant = models.ForeignKey(Grant, related_name='reports')
|
||||
grant = models.ForeignKey(Grant, related_name='reports',
|
||||
on_delete=models.CASCADE)
|
||||
title = models.CharField(max_length=200)
|
||||
report_type = models.CharField(max_length=50, blank=True)
|
||||
description = models.CharField(max_length=255, blank=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue