RE: Prefixing Q Objects

2019-07-10 Thread Matthew Pava
I had a use for such a feature, though I used an implementation more specific to my application. Basically, I have a model and then I have several other models that are directly related to that model. So in the base model I would have a field to determine if the instance was marked as deleted.

Prefixing Q Objects

2019-07-10 Thread 'Robert Schindler' via Django developers (Contributions to Django itself)
Hi all, I've been redirected to the mailing list from the ticked I opened [0]. Therein, I proposed to add a new method to the Q object API for prefixing Q objects with a related field's name in order to be able to create reusable Q objects. I think the use case I pointed out might have been

Web Socket Error 404

2019-07-10 Thread Fatemeh Ahmadzadeh
Hi our friend I create daphne.sock for websocket and gunicorn.sock for http request , two ASGI and WSGI is activated nginx.conf proxy_pass equals to unixes. but have this errors according to this server{ listen 80; server_name 185.252.11.11 domain.com; location / {