django-grappelli-template-editor

A TTW Template Editor for Grappelli


Keywords
django, grappelli
License
Other
Install
pip install django-grappelli-template-editor==0.4

Documentation

django-grappelli-template-editor

Allows you to edit templates through an extra Grappelli dashboard page

Installation

Install the package:

$ pip install django-grapelli-template-editor

Add to INSTALLED_APPS

INSTALLED_APPS = (
    ...
    'grappelli_te',
    '''
)

Into your root urls, before admin, insert the line:

(r'^admin/templates/', include('grappelli_te.urls')),

Usage

Visting that URL will present you with a page with a list of templates found in the first entry of settings.TEMPLATE_DIRS, and an edit box. Double click a template to load, and edit away.