What is the best practice for Django project structure? -


i know if there best practice structure of django projects. in particular, located virtualenv folder project?

do think better following solution:

/myproject     /myenv     manage.py     /mysite         settings.py         urls.py         wsgi.py         __init__.py 

or think better have folder environments, example in home directory:

/virtualenvs     /myproject1_env     /myproject2_env     ...     /myprojectn_env 

i use virtualenvwrapper keep virtualenv @ same place , access them. can recommand use :)

features  - organizes of virtual environments in 1 place. - wrappers managing virtual environments (create, delete, copy). - use single command switch between environments. - tab completion commands take virtual environment argument. - user-configurable hooks operations (see per-user customization). - plugin system more creating sharable extensions (see extending virtualenvwrapper). 

i have no relation project, use on daily basis , it. hope can :)


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -