2008/10/11 Karen Tracey <[EMAIL PROTECTED]>:

> You've got a typo in there somewhere, because there is no 'notizie' in the
> query you posted, you've got 'schede' like above.  So I'm not sure exactly
> what you tried nor exactly what error you got.  Cut and paste of code and
> error messages is best to avoid confusion.  Also, posting complete models
> instead of just snippets (put them out on dpaste.com and point to them if
> they are non-trivial and thus will display poorly in email) may be better in
> this case.  From what you posted so far I don't see why what (I'm guessing)
> your query was isn't working.
>


This is my models.py:
http://dpaste.com/84075/

This is my urls.py:
http://dpaste.com/84077/
(che commented line is the one that gives the error)
# 
ultima_edizione=Edizione.objects.distinct().filter(notizie__isnull=False).order_by('-id')


This is the error i Get:

http://dpaste.com/84076/

Thanks in advance!


-- 
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net

SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928

Rispetta l'ambiente: se non ti è necessario, non stampare questa mail

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to