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

3 Aug ‘14

The necessary JS and CSS files were not being loaded. I ran a “ python manage.py findstatic ”. It told me some apps were not installed. django_extensions debug-toolbar South django_tables2 pyscopg2 After installing these, findstatic was... Continue →