-
Notifications
You must be signed in to change notification settings - Fork 44
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
Bad assumptions with project and settings options #92
Comments
"Enforcement", "bad", "annoying", "really bad".... May I suggest to be a little more polite when phrasing your bug reports? And no, regarding settings there is no such assumption (I think) that The only assumption is that there currently is a check in the main code that warns you if there's no directory named after the project, suggesting that you run Settings are already quite flexible. I have a project And for corner cases where you don't have a regular main django project (where-ever you may import it from) with an importable settings (sub)module there's the A change that might be handy is to have |
Regarding politeness, I'm sorry, English is not my native language, and my vocabulary of English words is quite poor, so I just try to express my point of view with very limited set of words. My intentions is to make djangorecipe better, than it is now.
Actually I don't really know what is the purpose of djangorecipe/src/djangorecipe/recipe.py Lines 72 to 78 in e0d288d
Yes, that would help. Currently documentation says: Regarding backwards compatibility, removal of I think, I think the right fix is to do a backwards incompatible change, like with Otherwise, removing warning about non-existing project directory would be also ok, with explanation in documentation, that Currently, just reading documentation I can't really understand what |
Recently I found, that
projectegg
was deprecated. The main reason was removal of project generation, because ifprojectegg
was specified, project directory was not generated.After looking at the code I found, that
project
option currently is used only in one place: https://github.com/rvanlaar/djangorecipe/blob/master/src/djangorecipe/recipe.py#L223project
andsettings
options are very limited and are based on really bad assumptions, In first place,project
is expected to be a directory name under${buildout:directory}
. There are projects, where all sources are kept undersrc
directory, some projects separate build scripts from project, and project can be installed somewhere as a Python egg.So my suggestion would be to remove annoying
project
option and replacesettings
withdotted-settings-path
. This makes djangorecipe much more flexible and much more simple:And you can use whatever project structure you like, without
project
enforcement.The text was updated successfully, but these errors were encountered: