0👍
The Django application listening on the unix socket uses a different protocol than HTTP, most probably FastCGI. So you cannot use an HTTP client to talk directly with it.
Here you can find an article showing how to use a command line program called cgi-fcgi to talk directly with your application. The article uses Php-fpm, but the concept is the same.
http://www.thatsgeeky.com/2012/02/directly-connecting-to-php-fpm/
0👍
Django test module has a Client that can talk to a wsgi/asgi application.
You can probably use this in a REPL python session for instance.
- Saving model instance with DateTimeField in Django Admin loses microsecond resolution
- Django – form_valid() vs save()
Source:stackexchange.com