Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/one-programmer/django-adminlte
Django AdminLTE is a smart admin based on adminLTE and django
https://github.com/one-programmer/django-adminlte
admin adminlte django
Last synced: about 2 months ago
JSON representation
Django AdminLTE is a smart admin based on adminLTE and django
- Host: GitHub
- URL: https://github.com/one-programmer/django-adminlte
- Owner: one-programmer
- License: mit
- Created: 2016-11-23T09:27:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T06:04:18.000Z (about 7 years ago)
- Last Synced: 2024-10-11T17:44:04.820Z (3 months ago)
- Topics: admin, adminlte, django
- Language: JavaScript
- Homepage: https://pypi.python.org/pypi/django-adminlte-admin
- Size: 7.9 MB
- Stars: 56
- Watchers: 19
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django AdminLTE
Django AdminLTE is a smart admin based on adminLTE and django
[![Build Status](https://travis-ci.org/beastbikes/django-adminlte.svg?branch=master)](https://travis-ci.org/beastbikes/django-adminlte)[![PyPI version](https://badge.fury.io/py/django-adminlte-admin.svg)](https://badge.fury.io/py/django-adminlte-admin)
## Install
```shell
pip install django-adminlte-admin
```## Quick start
1 Add "adminlte" to your INSTALLED_APPS setting like this::
```python
INSTALLED_APPS = [
...
'adminlte.apps.AdminlteConfig',
]
```2 Include the adminlte URLconf in your project urls.py like this::
```python
url(r'^adminlte/', include('adminlte.urls')),
```3 add admin_config to `context_processors` or you can make your own config
```python
'OPTIONS': {
'context_processors': [
...
'adminlte.utils.admin_config',
],
},
```4 Start the development server and visit http://127.0.0.1:8000/adminlte/
to create a poll (you'll need the Admin app enabled).5 Visit http://127.0.0.1:8000/adminlte/ to participate in the adminlte.
6 Look the examples in the code to see how to start.
# How to run example
```
PYTHONPATH=PYTHONPATH:. python examples/demo/manage.py runserver
```## Settings
### ADMINLTE_LOGIN_VIEW
adminlte login view. default is `adminlte.login`
### ADMINLTE_IS_LOGIN_FUNC
adminlte login validate method. if `required_login=False` will not validate login
### ADMINLTE_SITE_NAME
Site name. default is `AdminLTE`
### ADMINLTE_SITE_URL
footer url, default is `https://adminlte.speedx.com`
## Develop
```shell
rm dist/*
python setup.py sdist bdist_wheel
twine upload dist/*
```