carltongibson / rest-framework-tutorial

62 stars 65 forks source link

Need to update requirements.txt #8

Open SiddharthPant opened 4 years ago

SiddharthPant commented 4 years ago

I am running this on Ubuntu 19.10 so your mileage may vary. There are two issues with the requirements file:

  1. pip install -r requirements.txt fails because psycopg2 now requires to have pyscopg2-binary in its name.
  2. 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.

carltongibson commented 4 years ago

Hi @SiddharthPant. Fancy making a PR?

SiddharthPant commented 4 years ago

Ok. Will do.