31 May ‘14

Whereas pip tells me I have psycopg2 and it’s up-to-date.
Advice from #Django: “just make sure you installed it inside your virtual env or that your virtual env takes the system site packages” for Psycopg2. Okay, linovia on #Django helped me. I had to install psycopg2 AFTER activating the virtual env.

To activate virtualenv: “. bin/activate”;
To deactivate it: “deactivate”

Created a dummy HTML form on new page, trying to fetch data using Django now.

 
0
Kudos
 
0
Kudos

Now read this

1 Aug ‘14

Sheila setup a rackspace VM for me to deploy the Django app. It’s the first time I’m using (and learning) Fabric. Issues faced: VM freezed everytime I entered the password. Resolved by setting env.password string in fabric task. Jinja... Continue →