diff options
Diffstat (limited to 'workshop_app/models.py')
-rw-r--r-- | workshop_app/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/workshop_app/models.py b/workshop_app/models.py index 096ce5d..03be064 100644 --- a/workshop_app/models.py +++ b/workshop_app/models.py @@ -87,12 +87,13 @@ class RequestedWorkshop(models.Model): User, related_name="%(app_label)s_%(class)s_related" ) + requested_workshop_date = models.DateField() status = models.CharField( max_length=32, default="Pending", choices=status_choices ) requested_workshop_title = models.ForeignKey( - Workshop, + Course, on_delete=models.CASCADE ) |