Monday, 19 August 2013

Installing a postgresql driver for Djangofor virtual environment

I tried installing pycopg2 for one of the virtual environment and there is an error with error return 1. And if installed using python setup.py install and mt.exe error.

The easiest and the successful way was as suggested http://stackoverflow.com/questions/5420789/how-to-install-psycopg2-with-pip-on-python by Praveen Gollakota.

Download the installer from http://stickpeople.com/projects/python/win-psycopg/ and do something like easy_install [BINARY_FILE]

Saturday, 17 August 2013

Heroku Integration of the application

By the way, I have implemented a virtual environment for django which is awesome.

Something like this: Instead of using your system with multiple projects, multiple packages and also maybe multiple versions of the django application this concept serves ideally well for the fact that this keeps every project in its own environment.

And finally a git on this project and integration with Heroku. My Heroku URLS is: http://floating-dusk-3285.herokuapp.com/

Loved the way it has turned up this far. But still the login on everypage is really eating my head!!

Login option from everypage like in StackOverflow

Now my first and foremost thing I want to have done in my web application is to have something like in StackOverflow where I can login from any page. An Ajax or a jquery plugin for it to pop-up a modal box where I can fill in my details and bang!! I am logged-in.

Here's whats in my mind, login is one of the basic functionalities.. It is the one which enables session, which is the concept as important as breathing for any usable web application. And, me being a noob in, web application development, am banging my head to get this done. How the heck I do I get it done with Django and jquery is the biggest question. Biggest question of my life, probably now!