Disable dark mode in Django admin user interface in Django 3.2.x.

Overview

Django Non Dark Admin

Disable or enable dark mode user interface in Django admin panel (Django==3.2).

Installation

For install this app run in terminal:

pip install django-non-dark-admin

Configuration

Add ''django_non_dark_admin'' to your INSTALLED_APPS settings. This is must be added BEFORE ''django.contrib.admin''.

Set ''DISABLE_DARK_MODE = True'' in your settings module to diable dark mode in admin panel user interface.

License

Licensed under BSD license. See license link in documentation.

Issues
  • Add the dark/light theme selection as a user preference

    Add the dark/light theme selection as a user preference

    Summary

    This PR adds the code and documentation to have the dark mode disabled as a user preference.

    Design

    The changes keep the same flow implemented where a templatetag defines if the dark mode should be disabled. To make the option to disable the dark theme a user preference, a boolean field was added to the custom auth user model (settings.AUTH_USER_MODEL). Refer to the README.rst for the requirements to have the user preference

    Tests

    No tests were added since there weren't previous tests for the package.

    Changes

    • [x] Convert the DISABLE_DARK_MODE to be generated by a function that evaluates an instance of the settings.AUTH_USER_MODEL to verify if the dark mode should be disabled.
    • [x] Update the templatetag to call the function to confirm which theme should be used based on the request.user instance present in the context
    • [x] Update README.rst adding the documentation for the configuration.
    opened by aemitos 0
  • Remove curly bracket from the admin template.

    Remove curly bracket from the admin template.

    This PR is a tiny cleanup for a curly bracket in the admin template.

    opened by aemitos 0
Owner
Artem Galichkin
Artem Galichkin
aiohttp admin is generator for admin interface based on aiohttp

aiohttp admin is generator for admin interface based on aiohttp

Mykhailo Havelia 9 Dec 1, 2021
📱 An extension for Django admin that makes interface mobile-friendly. Merged into Django 2.0

Django Flat Responsive django-flat-responsive is included as part of Django from version 2.0! ?? Use this app if your project is powered by an older D

elky 248 Dec 3, 2021
Jet Bridge (Universal) for Jet Admin – API-based Admin Panel Framework for your application

Jet Bridge for Jet Admin – Admin panel framework for your application Description About Jet Admin: https://about.jetadmin.io Live Demo: https://app.je

Jet Admin 1.1k Jan 16, 2022
Modern responsive template for the Django admin interface with improved functionality. We are proud to announce completely new Jet. Please check out Live Demo

Django JET Modern template for Django admin interface with improved functionality Attention! NEW JET We are proud to announce completely new Jet. Plea

Geex Arts 3.2k Jan 10, 2022
A jazzy skin for the Django Admin-Interface (official repository).

Django Grappelli A jazzy skin for the Django admin interface. Grappelli is a grid-based alternative/extension to the Django administration interface.

Patrick Kranzlmueller 3.2k Jan 15, 2022
django's default admin interface made customizable. popup windows replaced by modals. :mage: :zap:

django-admin-interface django-admin-interface is a modern responsive flat admin interface customizable by the admin itself. Features Beautiful default

Fabio Caccamo 1k Jan 12, 2022
Modern theme for Django admin interface

Django Suit Modern theme for Django admin interface. Django Suit is alternative theme/skin/extension for Django administration interface. Project home

Kaspars Sprogis 2.1k Jan 16, 2022
A flat theme for Django admin interface. Modern, fresh, simple.

Django Flat Theme django-flat-theme is included as part of Django from version 1.9! ?? Please use this app if your project is powered by an older Djan

elky 415 Nov 22, 2021
A jazzy skin for the Django Admin-Interface (official repository).

Django Grappelli A jazzy skin for the Django admin interface. Grappelli is a grid-based alternative/extension to the Django administration interface.

Patrick Kranzlmueller 3.2k Jan 9, 2022
Modern theme for Django admin interface

Django Suit Modern theme for Django admin interface. Django Suit is alternative theme/skin/extension for Django administration interface. Project home

Kaspars Sprogis 2.1k Jan 16, 2022
"Log in as user" for the Django admin.

django-loginas About "Login as user" for the Django admin. loginas supports Python 3 only, as of version 0.4. If you're on 2, use 0.3.6. Installing dj

Stavros Korokithakis 292 Dec 26, 2021
A user-friendly JSON editing form for Django admin

A user-friendly JSON editing form for Django admin

Bharat Chauhan 53 Jan 13, 2022
An improved django-admin-tools dashboard for Django projects

django-fluent-dashboard The fluent_dashboard module offers a custom admin dashboard, built on top of django-admin-tools (docs). The django-admin-tools

django-fluent 302 Dec 30, 2021
A Django app for easily adding object tools in the Django admin

Django Object Actions If you've ever tried making admin object tools you may have thought, "why can't this be as easy as making Django Admin Actions?"

Chris Chang 424 Jan 15, 2022
Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.

Xadmin Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap. Liv

差沙 4.6k Jan 16, 2022
A Django admin theme using Twitter Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed apps.

django-admin-bootstrapped A Django admin theme using Bootstrap. It doesn't need any kind of modification on your side, just add it to the installed ap

null 1.6k Dec 14, 2021
Extendable, adaptable rewrite of django.contrib.admin

django-admin2 One of the most useful parts of django.contrib.admin is the ability to configure various views that touch and alter data. django-admin2

Jazzband 1.1k Dec 27, 2021
Django application and library for importing and exporting data with admin integration.

django-import-export django-import-export is a Django application and library for importing and exporting data with included admin integration. Featur

null 2.3k Jan 12, 2022
:honey_pot: A fake Django admin login screen page.

django-admin-honeypot django-admin-honeypot is a fake Django admin login screen to log and notify admins of attempted unauthorized access. This app wa

Derek Payton 832 Jan 14, 2022