51👍
✅
ManyToOneRel
is not a django.db.models.fields.Field
, it is a class that is used inside Django but not in the user code.
👤wRAR
54👍
Django relations model exposes (and documents) only OneToOneField, ForeignKey and ManyToManyField, which corresponds to the inner
- OneToOneField -> OneToOneRel
- ForeignKey -> ManyToOneRel
- ManyToManyField -> ManyToManyRel
See source of django.db.models.fields.related for further details.
- [Django]-Redis Python – how to delete all keys according to a specific pattern In python, without python iterating
- [Django]-Charts in django Web Applications
- [Django]-Get virtualenv's bin folder path from script
Source:stackexchange.com