Ask coding questions

← Back to all posts
Why do Django Templates on Repl have different file structures?
Zeek1337

I'm trying to learn by doing and every single django tutorial has different file structures than repl's.

This is the file structure from Django's documentation:

mysite/
manage.py
mysite/
init.py
settings.py
urls.py
wsgi.py

I know this is not a big deal but it's a bit confusing for someone trying to learn Django from scratch. I'm following this tutorial:
https://docs.djangoproject.com/en/2.0/intro/tutorial01/

Answered by InvisibleOne [earned 5 cycles]
View Answer
Voters
Zeek1337
Comments
hotnewtop
InvisibleOne

Whoever made the django template chose to have that style of file structure. If you want to have a different file structure just create a normal python repl and build out the file structure with folders and files the way you want it.