On Dec 9, 8:26 pm, "acat...@gmail.com" <acat...@gmail.com> wrote: > I have been using Django for a little over two years as a freelance > developer. I am currently working at a company where I am at the > beginning stages of a two-person Django app. I have worked on group > projects before, quite some time ago, as an html editor. I definitely > don't have experience at developing a two-person Django project. I > have he envisioned initiating a django project, initiating an empty > app under that project, establishing template and static folders in > the project. After then I figured I would add the project to a github > repository then have my co-worker clone the project. After that we > could work away on separate branches and merge when ready. My co- > worker wants to have the repository only have the app part of the > project and the app will contain media and static folders. Each > developer would have a project root with only manage.py, urls.py and > the clone app. His thinking that this fits the Django way of doing > things more closely, but I don't see it this way and the only > explanation I can give is that I would be having all of the project's > files and folders in the standard django project folder. I would > greatly appreciate hearing from anyone with insight or advice. Thanks > in advance.
His reasoning sounds very odd to me. What about sharing stuff between different apps? There's nothing in django that says a single app should be in a repo. The point of an app is that it's portable and can be moved around and other apps can use parts of it as needed. Repo setup depends on what changes you will need to share, if you're absolutely sure you'll only need to work on one app and it won't use anything from other apps, and you won't need to add custom app settings to settings.py, I guess it's ok but I don't see the point. For what its worth, I've been working with repos that contained django projects in two places and it works just fine. (and in fact it wouldn't work otherwise for the reasons I mentioned.) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.