#25747: djorm-ext-filtered-contenttypes impossible on Django 1.9
-------------------------------------+-------------------------------------
     Reporter:  mpasternak           |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  closed
    Component:  Database layer       |                  Version:  1.9b1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  postgresql db        |             Triage Stage:
  contenttypes                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by mpasternak):

 I had a look at #3006. My package allows you to generate queries like:

 SELECT ... WHERE (content_type_id, object_id) = (SELECT (1, id) FROM ...)

 ... but it does NOT allow you to filter stuff in ORM like the other
 package does.

 So, ATM I'd not incorporate this into Django. Both #3006 and djorm-ext-
 filtered-contenttypes have their place. Merging those packages in some
 form of a cool API and adding some docs would make a great addition to
 Django. ATM I'm not going to work on that, perhaps in the future.

 I think this is very good we had this short discussion right here; this
 functionality is really useful in some corner cases and I guess there
 won't be many people needing it.

--
Ticket URL: <https://code.djangoproject.com/ticket/25747#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.034b5444d6190344eff15b7038261790%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to