Re: DISTINCT ON fields is not supported by this database backend
What's your database backend?
https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.distinct
Note
This ability to specify field names is only available in PostgreSQL.
[]s
2012/6/24 Marcin Tustin <marcin.tustin@gmail.com>
DISTINCT ON fields is not supported by this database backendWhat more is there to say? Either stop using the distinct method, or switch to another database backend.
--On Sun, Jun 24, 2012 at 11:24 AM, upmauro <upmauro@gmail.com> wrote:Please help,http://dpaste.com/762942/Thanks alot !--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/v5qIbmtR5ZwJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Marcin Tustin
Tel: 07773 787 105
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Att. Mário Araújo Chaves Neto
Programmer, Designer and U.I. Engineer
MBA in Design Digital - 2008 - FIC
Analysis and Systems Development - 2011 - Estácio
Design and Implementation of Internet Environments - 2003 - FIC
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home