Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename project_name to config inside project_name dir #2

Open
angvp opened this issue Feb 15, 2014 · 0 comments
Open

Rename project_name to config inside project_name dir #2

angvp opened this issue Feb 15, 2014 · 0 comments

Comments

@angvp
Copy link

angvp commented Feb 15, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant