For some reason i want to check the Db as created with Django . I run command = python manage.py inspectdb > inspectdb.txt
I get to see = models.CharField
in place of the expected = models.FileField
, whereas the models.py has the correct models.FileField
also the Db surely has a models.FileField
as am able to store Files = .csv , in this case correctly.
My Question - Why would inspectdb , show the model field differently , how to learn more about this ?
Linked Question - https://stackoverflow.com/a/48739612/4928635