Задать вопрос

Тел: +7 965 3737 888

409

Просмотров

0

Ответов

simple unique_together check with M2M field

unique_together doesn't work with ManyToMany, yet. See: http://code.djangoproject.com/ticket/702

Here a simple test in save() that would raise a IntegrityError.

Вопрос полезен? Да0/Нет0
file_4536.py(1.2Кб)
None