Are the queries associated with a certain form? Or they are arbitrary
queries?

On Mon, Apr 20, 2015 at 10:01 AM, guettli <h...@tbz-pariv.de> wrote:

> 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
> <https://groups.google.com/d/msgid/django-users/3f75c38e-d2c9-480c-9103-e4ea1bad8f88%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALn3ei3kEofK5gEe8e1xwFTTAnargxoj15sK_SrB1ax2y4o-WA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to