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

8 June ‘14

I implemented location detection in my app today using pygeoip. I detected user network bandwidth by downloading an image at a URL using JS and timing it. This method gives network speed fairly close to as measured by other online... Continue →