Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make discount URL field non-nullable
This changes the field to be in line with Django recommendations: > Avoid using null on string-based fields such as `CharField` and > `TextField.` If a string-based field has `null=True`, that means it > has two possible values for "no data": `NULL`, and the empty string. > In most cases, it's redundant to have two possible values for "no > data;" the Django convention is to use the empty string, not `NULL`. https://docs.djangoproject.com/en/3.2/ref/models/fields/#django.db.models.Field.null Three more fields on `Trip` have a large number of records with `null` -- I'd need to address those before I can turn on linting for DJ001.
- Loading branch information