Re: [Solved] Re: How can I refresh admin_urls

2019-02-25 Thread Dylan Reinhold
Thanks for sharing Mike. Dylan On Mon, Feb 25, 2019 at 9:35 PM Mike Dewhirst wrote: > Thank you all for your attention. Kept me going. (another resend this time > hopefully it will be laid out better) > > The fix is to initialise the self.change_form_template to None *every* > time ModelAdmin.c

[Solved] Re: How can I refresh admin_urls

2019-02-25 Thread Mike Dewhirst
Thank you all for your attention. Kept me going. (another resend this time hopefully it will be laid out better) The fix is to initialise the self.change_form_template to None *every* time ModelAdmin.change_form() is called. If it is None the ModelAdmin.render_change

[Solved] Re: How can I refresh admin_urls

2019-02-25 Thread Mike Dewhirst
Thank you all for your attention. Kept me going. The fix is to initialise the self.change_form_template to None *every* time ModelAdmin.change_form() is called. If it is None the ModelAdmin.render_change_form() method will dynamically create the model instance change form. Otherwise it uses th