Skip to main content

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 and colorfield to settings.INSTALLED_APPS before django.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.

Metadata

Release files for django-admin-508 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-admin-508 1.0.3
File Size Uploaded
django_admin_508-1.0.3.tar.gz 172.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-508 1.0.3
File Interpreter ABI Platform
django_admin_508-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 380.5 kB

Release files / django_admin_508-1.0.3.tar.gz

Download URL django_admin_508-1.0.3.tar.gz
Size 172.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6b65a2585ecd68ca9046f30f79cd1f27e18f4902e7d0743a305c15691941de28
BLAKE2b-256 checksum
How to use checksums
c139f48d8840b077f9bb9df16dc3fdc96ff773cc3e59cec3ce1c5fc314710da3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.8

Release files / django_admin_508-1.0.3-py3-none-any.whl

Download URL django_admin_508-1.0.3-py3-none-any.whl
Size 208.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51b1372c144889b6d14c89c6147b47481de7806a4ee059e1a9b87e54145eb22c
BLAKE2b-256 checksum
How to use checksums
07eadf8ead50d7f708d374a75004f7a45537e3367138bc372c8c741027063ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.8

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page