All Posts in Django

Dec. 31st, 2012

If you wish to have a core set of data that pre-populates your database after running python manage.py syncdb, then you need to know about the dumpdb command and fixtures. Fixtures Fixtures are where you can place data that django will be used to populate the database when syncdb is… read the rest of the article

Posted in: Django

Feb. 22nd, 2012

The following tip, should help in understanding how the FileField handles the path and url for a file referenced in the database. The Model Object The FileField model in Django is used to store files in Django. The file itself is not stored in the database but on the filesystem,… read the rest of the article

Posted in: Django