#21477: Rename pre/post_migrate argument db to using --------------------------------------+------------------------------------ Reporter: akaariai | Owner: syphar Type: Cleanup/optimization | Status: assigned Component: Migrations | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by loic84): @charettes `pre/post_syncdb` which now alias to `pre/post_migrate` were public though. Instead of aliasing I would keep `pre/post_syncdb` as their own thing and just let the `db` arg die along with them, that would also allow a `DeprecationWarning` which is currently missing. I think it's a win-win, we do the cleanup and we offer a better deprecation path than currently. PR coming soon. -- Ticket URL: <https://code.djangoproject.com/ticket/21477#comment:6> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.62478e15c368a830b9cd0446544d1cc6%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.