2

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

3 Answers 3

2

Yes see

Folder structure for a Django project

also see

Writing your first Django app, part 1 - Creating a project

startproject script by default generates

mysite/ __init__.py manage.py settings.py urls.py 
Sign up to request clarification or add additional context in comments.

Comments

2

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

2 Comments

Been there already, couldn't find it (hence this question). can you provide a link where the folder structure (+ what goes where) is discussed?
It is literally on the first page of the tutorial. docs.djangoproject.com/en/dev/intro/tutorial01/…
0

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.