Closed fr33co closed 9 years ago
Hello,
You can simply select for example
Content type: user Filter condition {"is_active": true}
Hope that helps.
Best regards, Stephan
On 2015-02-11 03:47, Angel A. Guadarrama B. wrote:
I don't understand the format or the method to create subscriber list. How is the format of the json field? Sorry for my english.
— Reply to this email directly or view it on GitHub https://github.com/arneb/django-campaign/issues/3.
Hi fr33co,
the documentation is not covering this topic very good :-(
The Json-Field expects a json encoded dict of kwargs, which get passed to the QuerySet.
emetor already gave a good example!
So ContentType "user" and filter {"is_active": true}
will map to: User.objects.filter(is_active=True)
Best regards, Arne
Ok, thanks. I'll check that.
Note: I made some changes in the code to work on Django 1.7
I don't understand the format or the method to create subscriber list. How is the format of the json field? Sorry for my english.