Skip to content

Commit

Permalink
Merge pull request #665 from anjali-dhanuka/event_pk
Browse files Browse the repository at this point in the history
event id added for schema to identify any event uniquely
  • Loading branch information
kamsuri authored Apr 23, 2018
2 parents 4101d6b + 64acbe0 commit 39285b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vms/event/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Event(models.Model):
RegexValidator(
r'^[(A-Z)|(a-z)|(0-9)|(\s)|(\.)|(,)|(\-)|(!)|(\')]+$', ),
],
unique=True)
)
start_date = models.DateField()
end_date = models.DateField()

Expand Down

0 comments on commit 39285b6

Please sign in to comment.