An open API service indexing awesome lists of open source software.

https://github.com/20tab/twentytab-previewadmin

A django app that initializes admin changelist view with a useful tool to have a preview of instances
https://github.com/20tab/twentytab-previewadmin

Last synced: about 1 year ago
JSON representation

A django app that initializes admin changelist view with a useful tool to have a preview of instances

Awesome Lists containing this project

README

          

twentytab-previewadmin
======================

A django app that initializes admin changelist view with a useful tool to have a preview of instances

## Installation

Use the following command: pip install twentytab-previewadmin

## Configuration

- settings.py

```py
INSTALLED_APPS = {
...,
'previewadmin',
...
}
```

- Static files

Run collectstatic command or map static directory.

## Usage

```py
from previewadmin.admin import PreviewAdmin

class CommessaAdmin(PreviewAdmin):
pass
```

or

```py
from previewadmin.admin import PreviewAdmin

class CommessaAdmin(PreviewAdmin):
show_help_text = True
button_label = u''
```