When I set-up an app (translationtest in this case) I have the following dir structure:
.
├── fabfile.py
├── README.rst
├── requirements.pip
├── server_conf
│ ├── nginx.conf
│ └── uwsgi.ini
├── translationtest
│ ├── apps
│ │ └── __init__.py
│ ├── manage.py
│ ├── static
│ │ ├── css
│ │ │ ├── bootstrap.css
│ │ │ ├── bootstrap.min.css
│ │ │ ├── bootstrap-theme.css
│ │ │ ├── bootstrap-theme.min.css
│ │ │ └── style.css
│ │ ├── fonts
│ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ └── glyphicons-halflings-regular.woff
│ │ └── js
│ │ ├── bootstrap.js
│ │ └── bootstrap.min.js
│ ├── templates
│ │ ├── 404.html
│ │ ├── 500.html
│ │ ├── base.html
│ │ └── registration
│ │ ├── activate.html
│ │ ├── activation_complete.html
│ │ ├── activation_email_subject.txt
│ │ ├── activation_email.txt
│ │ ├── registration_closed.html
│ │ └── registration_complete.html
│ └── translationtest
│ ├── __init__.py
│ ├── settings
│ │ ├── base.py
│ │ ├── __init__.py
│ │ ├── local.py
│ │ └── local.py.example
│ ├── urls.py
│ └── wsgi.py
└── var
12 directories, 34 files
So my proposal is to rename the last project_name dir inside project_name/project_name to something else, for instance config could be a good name because this dir contains settings files, but also contains the urls.py and wsgi.py files
Also having a different name reduce the noise when you're diving into the dirs/subdirs.
I will make a pull request with this change anyway, but I'd like to hear any opinions with this.
When I set-up an app (translationtest in this case) I have the following dir structure:
. ├── fabfile.py ├── README.rst ├── requirements.pip ├── server_conf │ ├── nginx.conf │ └── uwsgi.ini ├── translationtest │ ├── apps │ │ └── __init__.py │ ├── manage.py │ ├── static │ │ ├── css │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.min.css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.min.css │ │ │ └── style.css │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ └── glyphicons-halflings-regular.woff │ │ └── js │ │ ├── bootstrap.js │ │ └── bootstrap.min.js │ ├── templates │ │ ├── 404.html │ │ ├── 500.html │ │ ├── base.html │ │ └── registration │ │ ├── activate.html │ │ ├── activation_complete.html │ │ ├── activation_email_subject.txt │ │ ├── activation_email.txt │ │ ├── registration_closed.html │ │ └── registration_complete.html │ └── translationtest │ ├── __init__.py │ ├── settings │ │ ├── base.py │ │ ├── __init__.py │ │ ├── local.py │ │ └── local.py.example │ ├── urls.py │ └── wsgi.py └── var 12 directories, 34 filesSo my proposal is to rename the last project_name dir inside
project_name/project_nameto something else, for instanceconfigcould be a good name because this dir contains settings files, but also contains theurls.pyandwsgi.pyfilesAlso having a different name reduce the noise when you're diving into the dirs/subdirs.
I will make a pull request with this change anyway, but I'd like to hear any opinions with this.