[![](https://img.shields.io/pypi/pyversions/django-admin-508.svg?color=3776AB&logo=python&logoColor=white)](https://www.python.org/)
[![](https://img.shields.io/pypi/djversions/django-admin-508?color=0C4B33&logo=django&logoColor=white&label=django)](https://www.djangoproject.com/)
[![](https://img.shields.io/pypi/v/django-admin-508.svg?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/django-admin-508/)
[![](https://img.shields.io/pypi/l/django-admin-508.svg?color=blue)](https://github.com/raft-tech/django-admin-508/blob/main/LICENSE.txt)
# 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`
```python
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/*
```
```
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python makemigrations.py
```
### In da508
- clear the dist dir
- increment version
- build
- twine upload
### In TDRS
- backend: `dc up`
- ` docker compose run web python -m pipenv install django-admin-508==0.0.8`
## local development
- create empty django project
- create venv
- `build` package in another directory
- pip install -e /path/to/508
- migrate
## License
Released under [MIT License](LICENSE.txt).
## See also
This project started out as a fork of the excellent [Django Admin Interface](https://github.com/fabiocaccamo/django-admin-interface).
Raw data
{
"_id": null,
"home_page": "https://github.com/raft-tech/django-admin-508",
"name": "django-admin-508",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "django, admin, interface, responsive, flat, theme, custom, ui",
"author": "Raft",
"author_email": "info@goraft.tech",
"download_url": "https://files.pythonhosted.org/packages/bc/b9/5daaab5e2aeb54f449ef26c0356bf57adae7c221539be3516ad8af3b4e39/django_admin_508-0.2.1.tar.gz",
"platform": null,
"description": "\n[![](https://img.shields.io/pypi/pyversions/django-admin-508.svg?color=3776AB&logo=python&logoColor=white)](https://www.python.org/)\n[![](https://img.shields.io/pypi/djversions/django-admin-508?color=0C4B33&logo=django&logoColor=white&label=django)](https://www.djangoproject.com/)\n\n[![](https://img.shields.io/pypi/v/django-admin-508.svg?color=blue&logo=pypi&logoColor=white)](https://pypi.org/project/django-admin-508/)\n[![](https://img.shields.io/pypi/l/django-admin-508.svg?color=blue)](https://github.com/raft-tech/django-admin-508/blob/main/LICENSE.txt)\n\n# django-admin-508\n\n`django-admin-508` is a responsive interface that aims to be accessible to the 508 Standard.\n\n## Features\n\n## Installation\n\n- Run `pip install django-admin-508`\n- Add `admin_interface`, `flat_responsive`, `flat` and `colorfield` to `settings.INSTALLED_APPS` **before** `django.contrib.admin`\n\n```python\nINSTALLED_APPS = (\n #...\n 'admin_interface',\n 'flat_responsive', # only if django version < 2.0\n 'flat', # only if django version < 1.9\n 'colorfield',\n #...\n 'django.contrib.admin',\n #...\n)\n\n# only if django version >= 3.0\nX_FRAME_OPTIONS = 'SAMEORIGIN'\nSILENCED_SYSTEM_CHECKS = ['security.W019']\n```\n\n- Run ``python manage.py migrate``\n- Restart your application server\n\n#### Upgrade\n\n- Run `pip install django-admin-508 --upgrade`\n- Restart your application server\n\n## Publishing Updates\n\nhttps://packaging.python.org/tutorials/packaging-projects/\nhttps://realpython.com/installable-django-app/\n\n```\npython3 -m pip install --upgrade build\npython3 -m build\n\n\npython3 -m pip install --upgrade twine\npython3 -m twine upload --repository testpypi dist/*\n```\n\n\n```\npython3 -m venv env\nsource env/bin/activate\npip install -r requirements.txt\npython makemigrations.py\n```\n\n### In da508\n- clear the dist dir\n- increment version\n- build\n- twine upload\n\n### In TDRS\n- backend: `dc up`\n- ` docker compose run web python -m pipenv install django-admin-508==0.0.8`\n\n\n## local development\n- create empty django project\n- create venv\n- `build` package in another directory\n- pip install -e /path/to/508\n- migrate\n\n \n\n## License\nReleased under [MIT License](LICENSE.txt).\n\n## See also\n\nThis project started out as a fork of the excellent [Django Admin Interface](https://github.com/fabiocaccamo/django-admin-interface).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "django-admin-508 is a modern responsive django admin interface.",
"version": "0.2.1",
"project_urls": {
"Download": "https://github.com/raft-tech/django-admin-508/archive/0.2.1.tar.gz",
"Homepage": "https://github.com/raft-tech/django-admin-508"
},
"split_keywords": [
"django",
" admin",
" interface",
" responsive",
" flat",
" theme",
" custom",
" ui"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a28ade88b6659a5947b1aff1620ac2ad8fb6c51afd27687a3659d6f501273310",
"md5": "a2afefdbbe7cbcb40b6da1a81a7a71d0",
"sha256": "74dd192d73dbb17b367882207cc950ec30c3abe73e0b9f144a549d8164712196"
},
"downloads": -1,
"filename": "django_admin_508-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a2afefdbbe7cbcb40b6da1a81a7a71d0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 208329,
"upload_time": "2024-05-07T20:36:19",
"upload_time_iso_8601": "2024-05-07T20:36:19.527556Z",
"url": "https://files.pythonhosted.org/packages/a2/8a/de88b6659a5947b1aff1620ac2ad8fb6c51afd27687a3659d6f501273310/django_admin_508-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bcb95daaab5e2aeb54f449ef26c0356bf57adae7c221539be3516ad8af3b4e39",
"md5": "421a9e09216ec27496d7205b14749404",
"sha256": "043d80251dd588819c6ea23f5697ac74e7bd9d34048174e09a810b29417bff8c"
},
"downloads": -1,
"filename": "django_admin_508-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "421a9e09216ec27496d7205b14749404",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 173746,
"upload_time": "2024-05-07T20:36:23",
"upload_time_iso_8601": "2024-05-07T20:36:23.169180Z",
"url": "https://files.pythonhosted.org/packages/bc/b9/5daaab5e2aeb54f449ef26c0356bf57adae7c221539be3516ad8af3b4e39/django_admin_508-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-07 20:36:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "raft-tech",
"github_project": "django-admin-508",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "asgiref",
"specs": [
[
"==",
"3.5.0"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2021.10.8"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"2.0.11"
]
]
},
{
"name": "codecov",
"specs": [
[
"==",
"2.1.12"
]
]
},
{
"name": "coverage",
"specs": [
[
"==",
"6.3.1"
]
]
},
{
"name": "distlib",
"specs": [
[
"==",
"0.3.4"
]
]
},
{
"name": "Django",
"specs": [
[
"==",
"3.2.11"
]
]
},
{
"name": "django-admin-508",
"specs": []
},
{
"name": "django-colorfield",
"specs": [
[
"==",
"0.6.3"
]
]
},
{
"name": "django-flat-responsive",
"specs": [
[
"==",
"2.0"
]
]
},
{
"name": "django-flat-theme",
"specs": [
[
"==",
"1.1.4"
]
]
},
{
"name": "filelock",
"specs": [
[
"==",
"3.4.2"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.3"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"21.3"
]
]
},
{
"name": "Pillow",
"specs": [
[
"==",
"9.0.1"
]
]
},
{
"name": "platformdirs",
"specs": [
[
"==",
"2.4.1"
]
]
},
{
"name": "pluggy",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "py",
"specs": [
[
"==",
"1.11.0"
]
]
},
{
"name": "pyparsing",
"specs": [
[
"==",
"3.0.7"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.27.1"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "sqlparse",
"specs": [
[
"==",
"0.4.2"
]
]
},
{
"name": "toml",
"specs": [
[
"==",
"0.10.2"
]
]
},
{
"name": "tox",
"specs": [
[
"==",
"3.24.5"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"1.26.8"
]
]
},
{
"name": "virtualenv",
"specs": [
[
"==",
"20.13.1"
]
]
}
],
"tox": true,
"lcname": "django-admin-508"
}