maybe this is a bug,
when import the model via the follow:
from projectName.appName.models import className
but not:
from appName.models import className
maybe a solution.
for more infomation , pls refer to:
http://groups.google.com/group/django-developers/browse_thread/thread/51ebb62cc40ff3f7
mathias wrote:
> In my view I can retrieve all the tickets:
> tickets = Ticket.objects.all()
> I can also retrieve the content that matches my search:
> contents = Content.object.filter(body__icontains='bla')
>
> But I can't figure out how to retrieve a QuerySet with all the tickets
> from the con
2 matches
Mail list logo