Allows to browse source code of all "INSTALLED_APPS" in Django project.
Python
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
django_guts
docs
.gitignore
ChangeLog.rst
LICENSE
MANIFEST.in
Makefile
README.rst
bootstrap_buildout.py
buildout.cfg
setup.py

README.rst

Introduction

This is a "just for fun" project, created to show my django projects guts. It allows to browse source code of all INSTALLED_APPS. Here is example installation.

Dependencies

If you want to highlight sources then install Pygments.

Installation

  • Run pip install django-guts Pygments.

  • Add application django_guts to the INSTALLED_APPS list.

  • Add this to your urls.py:

    url(r'^guts/', include('django_guts.urls')),
    
  • Add these optional variables to the settings.py:

    GUTS_IGNORE = (r'\..*\.swp', r'.*\.pyc', r'.*\.pyo')
    GUTS_HL_EXTENSIONS = ('py', 'html', 'htm')
    
  • Restart server and point your browser to http://yourproject.com/guts/.

Bitdeli badge