This website requires JavaScript.
Explore
Help
Sign In
test0908
/
django
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
4f4e9243e4
django
/
tests
/
admin_custom_urls
/
__init__.py
2 lines
2 B
Python
Raw
Normal View
History
Unescape
Escape
Added support for modifying the effect of ``DISTINCT`` clauses so they only consider some fields (PostgreSQL only). For this, the ``distinct()`` QuerySet method now accepts an optional list of model fields names and generates ``DISTINCT ON`` clauses on these cases. Thanks Jeffrey Gelens and Anssi Kääriäinen for their work. Fixes #6422. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-23 04:42:40 +08:00
#