Tuesday, September 6, 2022

Django model field different from db field managed=false

I have model containing field ad_account_id = models.TextField(null=True, blank=True) but this model is managed = False and in database type is int and not textfield
whenever i do query using ORM it gives ad_account_id  type as int and not str and don't through any exception as well
why is it so ? and where can i read about this more

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8cc5ec41-d762-4a71-9b94-631778df48a7n%40googlegroups.com.

No comments:

Post a Comment