Hello,
I am trying to override the Forms in the Django Admin interface to have
custom exceptions in the clean() method.
This works for my first validation, but it doesn't work for a second one in
the same form, or on another form at all. I am wondering if I have the
syntax wrong for multiple v
project.com/en/2.0/ref/forms/validation/#cleaning-and-validating-fields-that-depend-on-each-other
> ).
>
> On Thu, Jan 4, 2018 at 7:06 AM, dean raemaekers > wrote:
>
>> Hello,
>>
>> I am trying to override the Forms in the Django Admin interface to have
>>
Hello,
I am using the Django admin tool as an internal tool to reach into a remote
database.
Most of my models work perfectly with the save. method additions I have
added, but there are 2 that are not working.
What happens is that the admin screen gives a successful "save" message,
but the gr
Hello,
I am trying to use inspectdb to generate models for a legacy database. I
get the following error:
$ python custom_inspectdb.py
Traceback (most recent call last):
File "custom_inspectdb.py", line 8, in
Command().execute(table_name_filter=lambda table_name: table_name in
tables, da
4 matches
Mail list logo