Igor Starikov
Igor Starikov
Чуть скорректировал код. Можно попробовать из мастера.
> I just don't get the value of the button I pressed, [...] And how and there do you try to get that value? What's in `self.bound_request.POST` in `model.save()`?
But `model.save()` is called before `response_add`.
> There is nothing here either, [...] Use F12 in broswer developer console to see what data is actually submitted to server. N.b.: only a value of the pressed button...
> Already seen, the first image refers to an admin created with your library, it does not send me information about the button, [...] It's time to look at the...
The rendered html I meant, not the templates.
I see to reason for an html not to send the data. My guess is that you're trying to compare two different cases: one from edit page, another from a...
Hi. Thank you for the report. What version of Django do you use?
> How do you normally work with the CustomModelPage without getting a migration? > An abstract model is not allowed to be registered in the admin Interestingly enough I see...
Heh, I missed that you run `makemigrations` without an application name. This indeed will create a new migration file in `django.contrib.admin.migrations`. So the **workaround** is to specify the application name,...