Index ¦ Archives  ¦ Atom  ¦ RSS > Tag: apps ¦ RSS

Django Models without Apps OR Everything Django Truly in a Single File

Sun 02 October 2011

This problem has bugged me for a few years actually, I have tried over and over again to use a single file for all of a Django projects' python code. This has proved very possible as long as your project did not have models, because no tutorial or howto online includes a model. Today I found out how to create models without putting them in a separate file and directory (models.py inside an app folder) so I would like to create the ultimate single-file Django tutorial.

Continue reading →

© Fahrzin Hemmati. Built using Pelican. Theme by Giulio Fidente on github.