Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 657 Bytes

File metadata and controls

33 lines (20 loc) · 657 Bytes

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.