Friday, October 6, 2017

Re: Django queryset returning corrupted value

Hi,

could you show the code that defines the slugfield, the queryset that is returning the wrong value, full error message and traceback (if available), and the version of your OS and RDBMS?

It doesn't matter if the problem is more general; let's focus on one specific manifestation of it.

Regards,

Antonis

On October 6, 2017 8:16:20 PM GMT+03:00, Web Architect <pinakeeb@gmail.com> wrote:
Hi,

We have running an ecommerce site using Django 1.8.13. It has been running fine for a year. But suddenly the django querysets are returning corrupted values. I am completely clueless why this is happening. Like a model field is of type SlugField but queryset is returning long.

Would really appreciate if anyone could throw some light on how to fix the above issue. When I check the values in MySQL DB using PhpMyAdmin and everything is fine.

Thanks,
Pinakee

No comments:

Post a Comment