Replying to felixxm:
Nick, I still don't see where is an issue, except that http://www.stickpeople.com/projects/python/win-psycopg/
link is outdated.
That and referring to PostgreSQL 9.x seems overly restrictive. There haven't been a great many updates to this section of the documentation other than cosmetic in years and my impression from my comment above is that it could be made easier.
There is also a problem that you have stumbled into that OSGeo4W installs a newer version of GDAL than Django 2.2 officially supports
I don't think that is true, OSGeo4W
contains: gdal200dll
, gdal201dll
, gdal202dll
, gdal203dll
all of them are supported by Django 2.2.
I was alluding to the comments starting at https://github.com/django/django/pull/10962#issuecomment-548004287, but if it installs the older versions too, then ...
It can be hard to fix an issue without details.
Indeed. I asked for some more details at the end...
Anyway. As I said, I don't use Windows. And I feel like I'm being unhelpful here, so I'll back off.