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
> DISTINCT ON fields is not supported by this
DISTINCT ON fields is not supported by this database backend
What 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 wrote:
> Please help,
>
> http://dpaste.com/762942/
>
> Thanks alot
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 dj
3 matches
Mail list logo