rest-framework-tutorial
rest-framework-tutorial copied to clipboard
Need to update requirements.txt
I am running this on Ubuntu 19.10 so your mileage may vary. There are two issues with the requirements file:
-
pip install -r requirements.txt
fails becausepsycopg2
now requires to havepyscopg2-binary
in its name. -
restore.sh
fails because the SQLite driver has some bug for which Django made a workaround in version 2.1.5. So the version of Django should at least be above that version.
For people searching for workaround just do pip install -U django==2.1.5 psycopg2-binary
and also update the requirements.txt file accordingly.
Hi @SiddharthPant. Fancy making a PR?
Ok. Will do.