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.

You might also like...
"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

A user-friendly JSON editing form for Django admin
A user-friendly JSON editing form for Django admin

A user-friendly JSON editing form for Django admin

An improved django-admin-tools dashboard for Django projects
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

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?"

Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.
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

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.
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

Extendable, adaptable rewrite of django.contrib.admin
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

Django application and library for importing and exporting data with admin integration.
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

: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

Comments
  • 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
  • Error installing Package

    Error installing Package

    I have Django 3.2.12 installed and when I try to install django-non-dark-admin via pip I get the following errors: ERROR: Could not find a version that satisfies the requirement django-non-dark-admin (from versions: none)

    ERROR: No matching distribution found for django-non-dark-admin

    opened by diek 3
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 17 Nov 16, 2022
📱 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 Sep 2, 2022
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.3k Dec 27, 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.4k Dec 29, 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.4k Dec 31, 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 1.3k Dec 31, 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.2k Dec 29, 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 416 Sep 22, 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.4k Dec 31, 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.2k Dec 29, 2022