The Golden Spot

I hope this helps someone who is learning about Linux and web application programming with Python, Django, and Javascript.

Saturday, December 08, 2007

useful links for Django site development:

How to allow an optional field in a Django data model; but do not use null=True for string
based fields, unless you have a deliberate reason.
http://www.b-list.org/weblog/2006/jun/28/django-tips-difference-between-blank-and-null/


why admin will not edit character primary keys
http://code.djangoproject.com/ticket/2259


make apache user process write to your database file using sqlite3; what I did while developing was to change the group of the data file to the Apache users group and make it group writable; next do the same for the parent directory of the database file. This way Apache can write data to it with mod_python. The error you get can be: Unable to Open Database http://code.djangoproject.com/wiki/NewbieMistakes#DjangosaysUnabletoOpenDatabaseFilewhenusingSQLite3

0 Comments:

Post a Comment

<< Home