django-guts

Funny application to show sources of your Django project.


Keywords
django, apps
License
BSD-3-Clause
Install
pip install django-guts==0.1.6

Documentation

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