Work around Django form util rename
Review Request #7608 — Created Aug. 25, 2015 and submitted
Django has renamed
django.form.util
todjango.form.utils
in 1.7+.
This attempts to import both versions where it is required. The
previous patch that attempted to fix this issue did not update imports
ofdjango.form.util
.
-
Tool: Pyflakes Processed Files: djblets/auth/util.py Tool: PEP8 Style Checker Processed Files: djblets/auth/util.py
-
Can you flesh out the summary/description a bit more? It's nice to have more information about what this change does, independent of the previous one, mentioning the Django 1.7+ compatibility for instance.
- Description:
-
~ The previous patch that attempted to fix this issue did not update
~ imports of django.form.util
.~ Django has renamed
django.form.util
todjango.form.utils
in 1.7+.~ This attempts to import both versions where it is required. The + previous patch that attempted to fix this issue did not update imports + of django.form.util
.