Closed deandrebaker closed 3 years ago
Before an event is created, we need to validate that the end datetime (can be null) is not before the start datetime (CANNOT be null). Check out https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model to see how we can do this validation between the 2 fields on the event modal.
Before an event is created, we need to validate that the end datetime (can be null) is not before the start datetime (CANNOT be null). Check out https://docs.djangoproject.com/en/3.1/ref/models/instances/#django.db.models.Model to see how we can do this validation between the 2 fields on the event modal.