#6422: Support for 'DISTINCT ON' queries with QuerySet.distinct()
-------------------------------------+-------------------------------------
     Reporter:  Manfred Wassmann     |                    Owner:  jgelens
  <manolo@…>                         |                   Status:  assigned
         Type:  New feature          |                  Version:  SVN
    Component:  Database layer       |               Resolution:
  (models, ORM)                      |             Triage Stage:  Ready for
     Severity:  Normal               |  checkin
     Keywords:  dceu2011             |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by anonymous):

 {{{
 bombom:/storage/dists/Django-1.3.1# patch -p1
 </storage/dists/distinct_on.7.diff
 patching file AUTHORS
 Hunk #1 succeeded at 524 (offset -20 lines).
 patching file django/db/backends/__init__.py
 Hunk #1 succeeded at 335 (offset -33 lines).
 Hunk #2 succeeded at 481 (offset -43 lines).
 patching file django/db/backends/postgresql_psycopg2/base.py
 Hunk #1 FAILED at 70.
 1 out of 1 hunk FAILED -- saving rejects to file
 django/db/backends/postgresql_psycopg2/base.py.rej
 can't find file to patch at input line 97
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |diff --git a/django/db/backends/postgresql_psycopg2/operations.py
 b/django/db/backends/postgresql_psycopg2/operations.py
 |--- a/django/db/backends/postgresql_psycopg2/operations.py
 |+++ b/django/db/backends/postgresql_psycopg2/operations.py
 --------------------------
 File to patch:
 Skip this patch? [y] y
 Skipping patch.
 1 out of 1 hunk ignored
 patching file django/db/models/query.py
 Hunk #1 succeeded at 651 (offset -42 lines).
 Hunk #2 succeeded at 1078 (offset -42 lines).
 patching file django/db/models/sql/compiler.py
 Hunk #1 succeeded at 67 (offset -4 lines).
 patching file django/db/models/sql/query.py
 Hunk #1 FAILED at 121.
 Hunk #2 FAILED at 260.
 Hunk #3 FAILED at 389.
 Hunk #4 FAILED at 1592.
 4 out of 4 hunks FAILED -- saving rejects to file
 django/db/models/sql/query.py.rej
 patching file docs/ref/models/querysets.txt
 Hunk #1 FAILED at 340.
 Hunk #2 FAILED at 369.
 2 out of 2 hunks FAILED -- saving rejects to file
 docs/ref/models/querysets.txt.rej
 patching file tests/regressiontests/queries/models.py
 Hunk #2 FAILED at 340.
 1 out of 2 hunks FAILED -- saving rejects to file
 tests/regressiontests/queries/models.py.rej
 patching file tests/regressiontests/queries/tests.py
 Hunk #1 FAILED at 10.
 Hunk #2 FAILED at 1732.
 Hunk #3 FAILED at 1818.
 3 out of 3 hunks FAILED -- saving rejects to file
 tests/regressiontests/queries/tests.py.rej

 }}}
 Why this happning? :)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/6422#comment:53>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to