#34279: Certain character causes django admin to misfunction
-------------------------------------+-------------------------------------
Reporter: Emad- | Owner: nobody
Eldin-G |
Type: Bug | Status: new
Component: Database | Version: 4.1
layer (models, ORM) |
Severity: Release | Keywords: Django-admin,
blocker | field-help_text, models, admin, orm
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When adding a help_text attribute to a field in models,
eg: "This field can be left blank if <v1> is False" (where v1 is used as a
variable placeholder in string format for explanation purposes).
When logging into that table in Django admin panel, all fields after that
field with the help_text don't appear, making it impossible to make,
alter, or delete objects. After several troubleshooting, I discovered that
the '>' character was what caused it to break, which hence suggests that
it may have been identified as a closing tag, making everything after that
field disappear.
[[Image(https://github.com/Emad-Eldin-G/Emad-
Eldin-G/blob/main/django%20error.jpg)]]
Example shown in the image above ⬆️. As shown the help text suddenly
breaks after ':', and nothing appears
--
Ticket URL: <https://code.djangoproject.com/ticket/34279>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070185d91cfe86-f9463042-94af-4274-b7ee-c81e6eda954d-000000%40eu-central-1.amazonses.com.