tags:

views:

73

answers:

3

I am trying to get an overview of a Django website application structure. The way I have done this in the past with other frameworks (Symfony, RoR etc) is to look at the application folder structure, work out which bits go where, and then work my way on from there onwards.

I have been searching online for similar info about Django website folder structure - but have been unable to find one. Is there a recommended folder structure for Django apps? - and if yes, where I can obtain the document that details this?

+1  A: 

Take a look at the tutorial on djangoproject.com - the directory structure is pretty clearly stated.

Matthew J Morrison
Been there already, couldn't find it (hence this question). can you provide a link where the folder structure (+ what goes where) is discussed?
morpheous
It is literally on the first page of the tutorial. http://docs.djangoproject.com/en/dev/intro/tutorial01/#creating-a-project
Matthew J Morrison
A: 

I think the philosophy was letting you have control over that. You can take a look at djangoproject's structure for inspiration: http://code.djangoproject.com/browser/djangoproject.com/django_website

meder
+2  A: 

Yes see

http://code.djangoproject.com/wiki/BestPracticesToWorkWith3rdPartyAppsAndMakingYoursPortable

also see

http://docs.djangoproject.com/en/dev/intro/tutorial01/

startproject script by default generates

mysite/
    __init__.py
    manage.py
    settings.py
    urls.py
Anurag Uniyal
Just what I was looking for! thanks!
morpheous