Tag: django

  • Django PostgreSQL used session on Github Actions test error

    If you’re using the PostgreSQL service on Github Actions as a backend database for your Django tests, you might encounter the following error on any particular test: And the following at the end of your test run: The problem is that Django reuses the database connection, and while locally my tests were passing, on Github…

  • Apache + mod_wsgi + Django + lighttpd

    I’ve written how to configure Apache, mod_python and Django and how to put lighttpd behind Apache. Recently I decided to host my most visited website on a different VPS provider[1], and started a quest to update my knowledge about Django deployment. I did things differently this time, using mod_wsgi (the recommended way of deploying Apache…