Skip to content

Constance doesn't support config values of the type list #620

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

Open
juanbits opened this issue Apr 30, 2025 · 0 comments
Open

Constance doesn't support config values of the type list #620

juanbits opened this issue Apr 30, 2025 · 0 comments

Comments

@juanbits
Copy link

According with the documentation the "list" is a supported value type.

So i try to store a list value:

"MY_CONSTANCE": (
        [123, 456],
        "try store list",
        list,
    ),

but when i try to access to the admin config page i got the error:
Constance doesn't support config values of the type <class 'list'>. Please fix the value of 'MY_CONSTANCE'.

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