fabiocaccamo / django-colorfield

:art: color field for django models with a nice color-picker in the admin.
MIT License
632 stars 95 forks source link

'colorfield' not needed since django 4.0 #158

Closed bmull closed 1 year ago

bmull commented 1 year ago

Python version 3.11.2

Django version 4.1

Package version 0.10.2

Current behavior (bug description) When I try to run server, I get this traceback

Exception in thread django-main-thread:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/.../venv/lib/python3.11/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/Users/.../venv/lib/python3.11/site-packages/django/core/management/commands/runserver.py", line 125, in inner_run
    autoreload.raise_last_exception()
  File "/Users/.../venv/lib/python3.11/site-packages/django/utils/autoreload.py", line 87, in raise_last_exception
    raise _exception[1]
  File "/Users/.../venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 398, in execute
    autoreload.check_errors(django.setup)()
  File "/Users/.../venv/lib/python3.11/site-packages/django/utils/autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "/Users/.../venv/lib/python3.11/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/.../venv/lib/python3.11/site-packages/django/apps/registry.py", line 124, in populate
    app_config.ready()
  File "/Users/.../venv/lib/python3.11/site-packages/admin_interface/apps.py", line 22, in ready
    settings.check_installed_apps()
  File "/Users/.../venv/lib/python3.11/site-packages/admin_interface/settings.py", line 26, in check_installed_apps
    check_installed_app('colorfield', (4, 0))
  File "/Users/.../venv/lib/python3.11/site-packages/admin_interface/settings.py", line 19, in check_installed_app
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: 'colorfield' not needed since django 4.0, remove it from settings.INSTALLED_APPS.

Expected behavior Server loads

Upvote & Fund

Fund with Polar

bmull commented 1 year ago

I'm an idiot. Upgraded django-admin-interface

fabiocaccamo commented 1 year ago

It happens, no problem! 😂