Incorrect documentation for "remove_tags" method in django.utils.html
This refers to the documentation for the "remove_tags" method on the following page:
https://docs.djangoproject.com/en/1.5/ref/utils/#module-django.utils.html
The documentation shows an example where the "tags" parameter for this method is given as a list, but in actual fact, the method expects a string (space separated, I assume). Passing in a list for that parameter results in an error:
AttributeError: 'list' object has no attribute 'split'.
Change History
(6)
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → Bug
|
Owner: |
changed from nobody to ferhatelmas
|
Status: |
new → assigned
|
Cc: |
bmispelon@… added
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
https://github.com/django/django/pull/969