Gitpython0.3.2 #5
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I had some troubles getting django-git working. I made some changes, and it works great now. Maybe they would be useful for others.
Specifically, I...
...fixed the requirements. It appears that the repositories for the packages in the previous requirements.txt did not exist anymore.
...modified the templates to display the repository path correctly. Originally, the templates (index.html, commit.html, and repo.html) were calling repo.path; a property that simply does not exist. In the current release (0.3.2) it states for Repo.Base:
The example project just displays all the repositories on ~/Projects/ (can be changed in example/settings.py), and works with the changes I've made.
note to maintainer:
Apologies if I did this incorrectly (first pull request and all..). I'm branching out from my fork's master because I'm trying to continue adding changes, so I've changed the pull request to reference this branch (GitPython0.3.2) which will have all the fixes I've included above.