Superevents
Compare changes
Files
2- Tanner Prestegard authored
Fixing issue where users could cause superevent date ID lookup to fail by providing date strings which couldn't be parsed by datetime.datetime.strptime (ex: '181309', month=13). Now we raise a custom exception in the class method and catch it in get_superevent_by_date_id_or_404.
+ 11
− 2
@@ -258,13 +258,17 @@ class Superevent(CleanSaveModel, ModelToDictMixin, AutoIncrementModel):
@@ -362,6 +366,11 @@ class Superevent(CleanSaveModel, ModelToDictMixin, AutoIncrementModel):