Multiple django-apps on python path or in project

I have a decent sized django project and when I originally built it I kept all the apps in an apps folder under the project root. project/apps/articles, project/apps/video etc.

After a while I decided to move to best practices and make them more reusable so I moved them into their own separate apps then symlink’d them to my python path. each one is its own git repo as well.

  • Django - syncdb causes error: “DatabaseError: no such table: django_site”
  • How can I write a Groovy Jenkinsfile for a Django application to run my tests?
  • Django Projects and git
  • same project, multiple customers git workflow
  • Best way to incorporate external django app into a project and safely make local changes
  • Django merge two migrations with the same ID?
  • The only problem I run into is the annoyance of them being all in their own repo. This happens quite often that we decide to change something across many of the apps (roughly 7-8 non-3rd party apps). Like changing the name of something in the admin interface or incorporating something like south. I have to deal with each repo, commit, push, then have staging servers pull, then if all ok then have each app get pulled into production. It’s just getting tiring.

    Since I wrote all these apps they are all growing togeter with the site so there are many changes all the time. I hoping once everything starts to stablize maybe this issue will just go away since massive rapid changes wont be happening as much.

    Is anyone else dealing with this. I’ve incorporated pip/freeze and requirements files and using fabric to try to help with some of the repitition and while it helps its just getting tiring.

    Is this the way other people are doing this as well? Keeping their own apps (which will probably way day be useful to other people) as portatable independent apps. I’m thinging of just pulling them in under the main project to speed up my work flow.

    Any thoughts are appreciated. Maybe I’m just being lazy.

  • Git run server side hook when there are no updates
  • Deploying existing Django app on Heroku
  • Will too many tags cause any issues in Git?
  • Using subgit with repositories having .git directory
  • Can git-svn be made to handle CRLF like native subversion clients?
  • Cannot push to GitHub - keeps saying need merge
  • One Solution collect form web for “Multiple django-apps on python path or in project”

    you should look at git submodules. I have my django apps in an apps subfolder, and some of them are git submodules. My main project is bound to a specific commit in each submodule repo so it can evolve separately but can be also be updated easyly :

    git submodules update
    Git Baby is a git and github fan, let's start git clone.