My Django ticket was closed
May be we can add an optional kwarg to remove_stale_contenttypes command to remove all contenttypes that do not have a corresponding model in existing appsv
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c306cc5d-4eeb-4324-b210-7017f9269293%40googlegroups.com.
Please link to the ticket here.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/e27e1fd5-9ba9-4b9d-b9a0-f477fb353769%40googlegroups.com.
@adam I agree with your points, about data loss, but this can still see this as being beneficial, perhaps the approach was just too harsh. Perhaps adding a flag in the management command would get everyone on board? The flag being off by default and only turns on if you know what you’re doing and enable it. At any rate i believe from what i can i see in the code it will still prompt you to delete the items it finds unless you added the ——no—input which prevents helps with data loss.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/5c55fdaa-8d89-4baa-a08d-68b0e84c610c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM3Hu_ZKWUj46%3D0BYN8XECG0OT_kMLNUgaopKXhJOEfJ5Q%40mail.gmail.com.
An optional command line argument makes sense to me. +1
On Thu, Jan 2, 2020 at 2:11 PM Adam Johnson <m...@adamj.eu> wrote:
I guess an optional kwarg would be okay then.
On Thu, 2 Jan 2020 at 03:08, Javier Buzzi <buzzi...@gmail.com> wrote:
@adam I agree with your points, about data loss, but this can still see this as being beneficial, perhaps the approach was just too harsh. Perhaps adding a flag in the management command would get everyone on board? The flag being off by default and only turns on if you know what you’re doing and enable it. At any rate i believe from what i can i see in the code it will still prompt you to delete the items it finds unless you added the ——no—input which prevents helps with data loss.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/5c55fdaa-8d89-4baa-a08d-68b0e84c610c%40googlegroups.com.
--Adam--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-d...@googlegroups.com.