Skip to content

Commit

Permalink
PR-1807 Renamed field start and end to start_date and end_date
Browse files Browse the repository at this point in the history
as start and end are SQL reserved word.

carpentries#1807
  • Loading branch information
za committed Oct 8, 2021
1 parent 1d8ab79 commit 40f0300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amy/extrequests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,13 @@ class SelfOrganisedSubmission(
DC Self-Organized Workshop Request.
"""

start = models.DateField(
start_date = models.DateField(
null=True,
verbose_name="Workshop start date",
help_text="Please provide the dates that your Self-Organised workshop will"
" run.",
)
end = models.DateField(null=True, verbose_name="Workshop end date")
end_date = models.DateField(null=True, verbose_name="Workshop end date")
workshop_url = models.URLField(
max_length=STR_LONGEST,
blank=True,
Expand Down

0 comments on commit 40f0300

Please sign in to comment.