I use WebFaction for hosting.
On their website I created a Django project.
It gave me this directory setup:
/home/account_username/webapps/app_name/myproject/myproject/
- Why "myproject" is used twice here?
- I do not understand what each directory should be used for.
- I do not understand which files should be in each directory.
Here is what's inside each directory:app_name
apache2
bin
myproject
manage.py
myproject
init.py
init.pyc
settings.py
settings.pyc
tests.py
urls.py
urls.pyc
views.py
views.pyc
wsgi.py - What is the first "myproject" directory supposed to be used for?
- What do most people name this directory?
- What is the second "myproject" directory supposed to be used for?
- What do most people name this directory?