Re: InlineAdmin unable to delete object with read only primary key

2022-11-21 Thread David Sanders
Hi Gagan, Interesting quirk you've found there, it's possible it could be a bug though further digging may be required. A couple of interesting notes I found while fiddling with your example code: - If you press "Save and continue editing" there are unspecified form errors - Setting

Re: Set a reasonable default for EMAIL_TIMEOUT

2022-11-21 Thread Federico Capoano
Hi there, yes I can add EMAIL_TIMEOUT in my applications and I am already doing that. The reason I wanted to bring this up here is that I care about Django. This behavior goes against a well known concept of the Unix Philosophy which is to "Write programs which fail in a way that is easy to

InlineAdmin unable to delete object with read only primary key

2022-11-21 Thread Gagan Deep
Hello everyone! In my project, I have created a model (Token) which uses a custom primary key (i.e. it uses a field defined by the model for the primary key instead of using "id"). I created an InlineAdmin class for this model and added the primary key field to InlineAdmin.readonly_fields.

Re: Fellow Reports - November 2022

2022-11-21 Thread Mariusz Felisiak
Week ending November 20, 2022 *Triaged: * https://code.djangoproject.com/ticket/34152 - Add the ability to store logs in a table (wontfix) https://code.djangoproject.com/ticket/34155 - ModelAdmin.render_change_form does not lowercase the app_label when setting template directories