Metadata-Version: 2.1
Name: django-customvueadmin
Version: 0.1.1
Summary: A custom admin interface providing backend via DRF and frontend via Vue and Element UI that tries Keep It Simple.
Home-page: https://innova-group-llc.github.io/custom_admin_docs/
License: BSD-3-Clause
Project-URL: Documentation, https://innova-group-llc.github.io/custom_admin_docs/
Project-URL: Source, https://github.com/Innova-Group-LLC/custom_admin
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Provides-Extra: argon2
Requires-Dist: argon2-cffi>=19.1.0; extra == "argon2"
Provides-Extra: bcrypt
Requires-Dist: bcrypt; extra == "bcrypt"

# Django Custom Admin


[![logo](https://raw.githubusercontent.com/greyli/flask-share/master/images/demo.png)](https://innova-group-llc.github.io/custom_admin_docs/)

A custom admin interface providing backend via DRF and frontend via Vue and Element UI that tries Keep It Simple.

[![PyPI version](https://badge.fury.io/py/django-customvueadmin.svg)](https://pypi.org/project/django-customvueadmin/)
[![GitHub stars](https://img.shields.io/github/stars/Innova-Group-LLC/custom_admin)](https://github.com/Innova-Group-LLC/custom_admin)

[Documentation](https://innova-group-llc.github.io/custom_admin_docs/)

## Features

- The web view runs on **Vue 2** using **Element UI**
- Pre-builded Vue SPA front page provided through html template and static files
- All endpoints run on Django Rest Framework view-set's (supports both ORM and non-ORM data sources)
- A powerful inline system with related entities
- Support for **django-modeltranslation** translations
- Ability to output any data within inlines (such as external logs with pagination)
- Ability to create admin actions using forms via drf serializers
- Dynamic system for obtaining partition scheme and interface structure
- Access rights sharing system based on DRF permissioins
- Related fields with autocomplete search
- WYSIWYG editor using TinyMCE 4
- JSON editor using CodeMirror
- Related fields Autocomplete and Filters using Vue Tags Input

# Vue frontend

```
npm install --prefix vue_frontend
npm run serve --prefix vue_frontend
```

## Build
```
npm run build --prefix vue_frontend
rm -r custom_admin/static/*
cp vue_frontend/dist/favicon.ico custom_admin/static/favicon.ico
cp vue_frontend/dist/manifest.json custom_admin/static/manifest.json
cp -r vue_frontend/dist/tinymce/ custom_admin/static/tinymce/
cp -r vue_frontend/dist/static/ custom_admin/
```
