Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A simple Django app to manage your Git projects.

Project Description

django-git is a simple Django app to:

  • show all the Git projects stored in a local directory
  • give a detail view of each project (dashboard) * number of commits * number of days since the last commit * number of hours spent on the project * when the commits were made


Install with pip:

pip install dj-git


  • Python 3
  • Django 1.9
  • pygit2
  • pygal
  • pytz

Quick start

  1. In, add ‘git’ to your INSTALLED_APPS like this:


and specify the path to your Git repositories:

PROJECTS_DIR = "path/to/git_repositories"

If necessary, set your database configuration. For example, for PostgreSQL:

    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': '<dbname>',
        'USER': '<username>',
        'HOST': '<host>'
  1. In, include the git URLconf in your project this:

    from django.conf.urls import url, include
    urlpatterns = [
        url(r'^git/', include('git.urls')),
  2. Run the following command to create the git models:

    python migrate
  3. Update the Git projects:

    python updategitprojects
  4. Start the development server:

    python runservser

and visit

  1. Visit to see your Git projects


Run the tests with:



The project is still in its early stage. There are probably many aspects to improve and bugs to fix. Feel free to send pull requests.


MIT. See LICENSE for more details.

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(59.3 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Jun 26, 2016
(52.3 kB) Copy SHA256 Hash SHA256
Source Jun 26, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting