We want to store the QuerySet query (not the result) some how.

Background: users should be able to save a complex query as "my favorite 
query".

Pickling querysets is possible, but version updates are not supported:

  
https://docs.djangoproject.com/en/1.8/ref/models/querysets/#pickling-querysets

Simple queries (without OR) could be saved as dictionary.

I have in mind some mini language which enables to store Q object instances:

 Q(foo='bar', blu='bla') | Q(foo='x', blu='y')

And ordering ....

Before reinventing the wheel, I want to ask if someone has seen or done
something like this before.

I could not find an existing project. But maybe I used the wrong keywords 
for
my favorite search engine.

Regards,
  Thomas Güttler

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3f75c38e-d2c9-480c-9103-e4ea1bad8f88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to