#17627: contrib.admin.util is misnamed --------------------------------------+------------------------------------ Reporter: PaulM | Owner: lukegb Type: Cleanup/optimization | Status: assigned Component: contrib.admin | Version: SVN Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by ejucovy): The latest patch from lukegb didn't apply cleanly -- there was some email- looking gunk at the top of the file. I cleaned it up and regenerated it with `svn di` against `trunk@17610`. The patch now applies cleanly. I also made one minor edit to the patch contents. The previous patch to `docs/internals/deprecation.txt` announced that the old `admin.util` import would be removed in Django version 2.0. Per [https://docs.djangoproject.com/en/dev/internals/release-process /#internal-release-deprecation-policy the deprecation policy] I believe the old import may be removed two minor versions after the `PendingDeprecationWarning` is established, i.e. in version `1.{N+2}`. On the assumption that this patch will be merged before `1.4` final, my patch now announces that the old import will be removed in `1.6`. Of course this will need to be updated again if the patch doesn't make it in for `1.4`. -- Ticket URL: <https://code.djangoproject.com/ticket/17627#comment:9> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.