Traceback (most recent call last):
File "/usr/lib/python3.7/code.py", line 90, in runcode
exec(code, self.locals)
File "", line 1, in
File
"/home/nima/.virtualenvs/behtarino/lib/python3.7/site-packages/django/db/models/fields/related_descriptors.py",
line 946, in add
through_def
That's happened in Django 3.x when Method 'add' is used with many-to-many
relations if intermediate model is used. consider call it on intermediate
model manager like `DealCategoryThrough.objects.create(deal=deal,
dealcategory=category)`
wtorek, 4 sierpnia 2020 o 14:10:15 UTC+2 nima salemahim
2 matches
Mail list logo