Here's a link to a setup I found useful and have been using since then:
http://www.jeffknupp.com/blog/2012/10/24/starting-a-django-14-project-the-right-way/

On Saturday, March 30, 2013 10:56:37 AM UTC+3, Martin wrote:
>
> Hi list, 
>
> I'm a Django newbie and have been reading of usefulness of using it with 
> virtualenv+git. I'm not clear however how to set it up in terms of 
> structure/hierarchy. 
>
> Say I've got my ~/projects/django-projects where I want to create my 
> projects so I'd initialise git inside ~/projects/django-projects. Then 
> I'd create separate virtual environments inside that adjusting 
> .gitignore to ignore things like: 
>
> *.pyc 
> .*swp 
>
> # Django files 
> include 
> lib 
> local 
> man 
> share 
> Scripts 
> .Python 
> *.pyc 
> *~ 
> *.db 
>
>
> # Packages 
> *.egg 
> *.egg-info 
> dist 
> build 
> eggs 
> parts 
> bin 
> var 
> sdist 
> develop-eggs 
> .installed.cfg 
>   
> # Installer logs 
>  pip-log.txt 
>
>
>
> Is that a recommended setup/logic? 
>
> Thank you 
>
> John 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to