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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -