Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constance doesn't support config values of the type <class 'dict'> #594

Open
morrah opened this issue Oct 22, 2024 · 0 comments
Open

Constance doesn't support config values of the type <class 'dict'> #594

morrah opened this issue Oct 22, 2024 · 0 comments

Comments

@morrah
Copy link

morrah commented Oct 22, 2024

Describe the problem

Constance doesn't support config values of the type <class 'dict'>. Please fix the value of 'MY_VAR'

Error message comes from forms.py, FIELDS dictionary lacks of new collection-types.

Steps to reproduce

CONSTANCE_CONFIG = {
    'MY_VAR': ({'test': 432}, 'my test var', dict),
}

System configuration

  • Django version: 4.1.2
  • Python version: 3.11.0rc1
  • Django-Constance version: 4.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant