Thank you so much.
ср, 30 июн. 2021 г. в 18:43, 'Adam Johnson' via Django developers
(Contributions to Django itself) :
> "Unique restriction will be ignored" - this is not the case. Uniqueness is
> enforced by the database, so as long as your migrations have been built and
> run correctly, the
"Unique restriction will be ignored" - this is not the case. Uniqueness is
enforced by the database, so as long as your migrations have been built and
run correctly, the database will error when trying to insert a duplicate
unique value. If you're finding that you can create duplicates on unique
What validation do you need? Much can be done in the database with
constraints, especially check constraints.
On Wed, 30 Jun 2021 at 08:05, Михаил Итпрогер
wrote:
> Hello, I am currently developing a reusable application using the Django
> framework.
>
> It just so happens that the instances of
Hello, I am currently developing a reusable application using the Django framework.It just so happens that the instances of the models of this application will most often be created inside the code, and not in the forms.I've created validators for fields that only work in forms, but I would like