The code for system checks currently uses freeform strings to register
against tags (e.g., `@register('compatibility')`).
This is potentially prone to error, since you can easily mistype the
string, and then the check won't get caught by the tag.
Internally, we should be using constants for built-in tags.
--
Ticket URL: <https://code.djangoproject.com/ticket/22195>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: timmartin (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/22195#comment:1>
* status: new => assigned
* cc: tomas.ehrlich@… (added)
* has_patch: 0 => 1
* owner: nobody => Elvard
--
Ticket URL: <https://code.djangoproject.com/ticket/22195#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"32e62374506827723423471a115e6b25313ed887"]:
{{{
#!CommitTicketReference repository=""
revision="32e62374506827723423471a115e6b25313ed887"
[1.7.x] Fixed #22195 -- Used constants to define built-in tags for check
framework.
Thanks Elvard for the patch.
Backport of b513fa5fc6 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22195#comment:3>