flake8
passed.
JSHint
passed.
Review Request #12526 — Created Aug. 10, 2022 and submitted
The
APIToken
model includes several datetime fields which are allowed
to be blank (such as invalidation or expiration). However, the
definitions of these fields were missingblank=True
, which meant that
the auto-generated form used in the admin site showed these fields as
required. This change fixes that.
Was able to save an APIToken with these fields as blank.
Summary | ID |
---|---|
dd159f01c9196ee2d3871f4685c6240697182d4d |