diegotoral / generator-django

A Yeoman generator for Django.
MIT License
78 stars 16 forks source link

Add wsgi file #30

Closed derek73 closed 10 years ago

derek73 commented 10 years ago

Django's default wsgi.py file is missing as well.

I like the project layout that you used. I have been using this a few times in the past few weeks.

The missing manage.py is kind of annoying. I notice the issue here on GitHub says it's "ready". I'm hesitant to fix it myself if it's already been fixed. Let me know what the status of that is.

diegotoral commented 10 years ago

Hi @derek73 and thanks for the feedback.

I just added the manage.py file and I'll add the wsgi.py soon.

I'll try give more attention to this project next week. Feel free to fork and push changes back! :)

derek73 commented 10 years ago

I had one question, unrelated to this issue but maybe an ok place to ask it. I wonder why you have the virtual env directory as the parent of the project directory. I hadn't expected that and was surprised to find my sqlite dev db in the parent directory. I re-read the readme and figured it out. I haven't come across that layout before and was just curious what advantage it provided. I usually put the virtualenv in a hidden dir inside my project dir.

diegotoral commented 10 years ago

I think it's a good way to keep things clear and organized. I use the env like a "filesystem" for the project, put in logs, db files, etc. I Read this ideia on a blog post, long time ago, don't remember which.