manyrelatedmanager Questions
5
Solved
How can you check the type of a many-to-many-field in django?
I wanted to do it this way:
import django
field.__class__ == django.db.models.fields.related.ManyRelatedManager
This doesn't work...
Soapy asked 17/5, 2010 at 12:47
1
© 2022 - 2025 — McMap. All rights reserved.