Re: Why are my two django objects of the same type behaving differently?

2011-10-31 Thread Gath
Somebody answered this http://stackoverflow.com/questions/7954474/why-are-my-two-django-objects-of-the-same-type-behaving-differently ... >>> s = '%build%' >>> content_query = content_class.objects.raw("Select * from pms_building where >>> name like %s",[s])

Why are my two django objects of the same type behaving differently?

2011-10-31 Thread Gath
Help! I have two objects that i have created using different techniques in django; >>> from django.contrib.contenttypes.models import ContentType >>> from myproject.models import Building Method A >>> content_type = ContentType.objects.get(app_label='myproject', >>> model='Building') >>>