Remove bespoke URLTextField
in favor of base TextField
#4320
Labels
💻 aspect: code
Concerns the software code in the repository
🧰 goal: internal improvement
Improvement that benefits maintainers, not users
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: api
Related to the Django API
Description
PR #4315 introduced a new
URLTextField
to mirror Django'sURLField
(only usingTextField
as the base field rather thanCharField
). As @sarayourfriend pointed out in the PR, this code is largely superfluous and unnecessary because we do not write directly to these tables from the API.We should remove this code and use a
TextField
directly on those fields instead.Additional context
The text was updated successfully, but these errors were encountered: