Friday, February 10, 2012

Checklist for enabling databases in Django

1. Update the DATABASES section in settings.py with details of your database
2. Test the connection
>>> from django.db import connection
>>> cursor = connection.cursor()

No comments:

Post a Comment