Skip to content

Commit

Permalink
PR-1807 Renamed start/end field to start_date/end_date on workshop mo…
Browse files Browse the repository at this point in the history
…dels

as start/end are reserved SQL words.

carpentries#1807
  • Loading branch information
za committed Oct 8, 2021
1 parent 40f0300 commit 05d6124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amy/workshops/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1292,8 +1292,8 @@ class Event(AssignmentMixin, RQJobsMixin, models.Model):
"happen, but due to some circumstances got cancelled.</li>"
"</ul>",
)
start = models.DateField(null=True, blank=True, help_text=PUBLISHED_HELP_TEXT)
end = models.DateField(null=True, blank=True)
start_date = models.DateField(null=True, blank=True, help_text=PUBLISHED_HELP_TEXT)
end_date = models.DateField(null=True, blank=True)
slug = models.SlugField(
max_length=STR_LONG,
unique=True,
Expand Down

0 comments on commit 05d6124

Please sign in to comment.