django-admin-508 is a modern responsive django admin interface.
Project description
django-admin-508
django-admin-508
is a responsive interface that aims to be accessible to the 508 Standard.
Features
Installation
- Run
pip install django-admin-508
- Add
admin_interface
,flat_responsive
,flat
andcolorfield
tosettings.INSTALLED_APPS
beforedjango.contrib.admin
INSTALLED_APPS = (
#...
'admin_interface',
'flat_responsive', # only if django version < 2.0
'flat', # only if django version < 1.9
'colorfield',
#...
'django.contrib.admin',
#...
)
# only if django version >= 3.0
X_FRAME_OPTIONS = 'SAMEORIGIN'
SILENCED_SYSTEM_CHECKS = ['security.W019']
- Run
python manage.py migrate
- Restart your application server
Upgrade
- Run
pip install django-admin-508 --upgrade
- Restart your application server
Publishing Updates
https://packaging.python.org/tutorials/packaging-projects/ https://realpython.com/installable-django-app/
python3 -m pip install --upgrade build
python3 -m build
python3 -m pip install --upgrade twine
python3 -m twine upload --repository testpypi dist/*
local development
In local development, the package has a parallel django508 application that can be started using Task file. The application has the admin_interface as one of the listed apps, so when started, the admin_interface project is automatically added.
To list the available commands, run task help
. A django server can be started using task up
command.
Running pytest
Pytest test files can be ran using: task test
. If you need to add pytest command line option, you may do so using PYTEST_ARGS
variable. E.g: task test PYTEST_ARGS="./tests/test_models.py -s -vv"
License
Released under MIT License.
See also
This project started out as a fork of the excellent Django Admin Interface.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_admin_508-1.0.2.tar.gz
.
File metadata
- Download URL: django_admin_508-1.0.2.tar.gz
- Upload date:
- Size: 171.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31a1d9a27204b54fe353430a48f6d066dcbdc3dfabfd55994604cdc6686bbf41 |
|
MD5 | 5d9bde46dab9f9719636a7814e88e6d1 |
|
BLAKE2b-256 | 3a5031c898dc77b014e79d1b4be3d478977fdbd93da23f0dd5cd2736651f99dc |
File details
Details for the file django_admin_508-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: django_admin_508-1.0.2-py3-none-any.whl
- Upload date:
- Size: 208.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a54eb2c0953911dcc8a9a1a9cf997a23f0e74324be6b16d56852da08f857de3 |
|
MD5 | 9abddb64c9e0d8a165673a2fb2676638 |
|
BLAKE2b-256 | 62f9d4ebe69c4d4e0f0d7774d611a0dafcd4c2bcead9a7e739899e016bffb613 |