sethtrain / django-git

A simple gitweb replacement built with Django

This URL has Read+Write access

sethtrain (author)
Mon Jul 06 13:26:28 -0700 2009
commit  81d3cbc6bc9791c2be9d1ffe2f6bbc3b2b18c622
tree    d971c6a0f0ac530117353cd43b3018aa2e76fee0
parent  5c7e44b98106768359230ded98ae78caa241bb10
README.markdown

README

Get the code via svn:

svn checkout http://django-git.googlecode.com/svn/trunk/ django-git

Add the django-git/django_git folder to your PYTHONPATH.

Update your settings.py:

INSTALLED_APPS = (
    ...
    'django_git'
    ...
)

REPOS_ROOT = '/Users/seth/projects/git'

And don't forget to include the urls.py:

urlpatterns = patterns('',
    ...
    (r'^git/', include('django_git.urls')),
    ...
)

Last, make sure you include the file located in the media directory in your project media location so that the ajax and javascript calls will work correctly. If you have a better way of doing this I would be glad to hear.

Requirements

  • Pygments
  • GitPython

If you would like to get started with django-git Hugh Brown has created Django-git-tester.