buildout.cfg
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 18 Jan 2011 14:37:06 +0530
changeset 457 1082b5ee29c5
parent 390 a745a95d12f2
child 465 14a7648a8699
permissions -rw-r--r--
Handle all cases of login. Firstly refactor the code to move all the post login mechanisms to a function of its own. Then add support to redirect the user if the login was attempted from logout page. Finally if the post response we got contains html, it is not a valid JSON, which means the login failed. In this case catch the exception and show the login error.

[buildout]
parts = django tagging django-robots south registration
eggs = 
    PIL
    psycopg2

[django]
recipe = djangorecipe
version = 1.2.4
project = pytask
settings = settings
eggs =
    ${buildout:eggs}
pythonpath = 
    ${tagging:location}
    ${django-robots:location}
    ${south:location}
    ${registration:location}

[tagging]
recipe = infrae.subversion
urls = http://django-tagging.googlecode.com/svn/trunk/ .

[django-robots]
recipe = mercurialrecipe
repository = https://bitbucket.org/jezdez/django-robots/

[south]
recipe = mercurialrecipe
repository = https://bitbucket.org/andrewgodwin/south/

[registration]
recipe = mercurialrecipe
repository = https://bitbucket.org/ubernostrum/django-registration/