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

Schema and defaults #12

Open
yychen opened this issue Mar 20, 2022 · 0 comments
Open

Schema and defaults #12

yychen opened this issue Mar 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@yychen
Copy link
Owner

yychen commented Mar 20, 2022

Description

It's very likely that there would be some sort of schema and default values for the keys. For example, a developer sets up the django environment, but then a manual re-creation of all the keys are required. It would be easier if there's a way to define the schema and build it automatically with default values.

Possible Solutions

I'm thinking maybe read a schema toml or yaml file from a fixed location, and we can build a django-admin command to initialize the keys.

Additional context

I think this should be another feature request. For the "string" type keys, it would be good to constraint the values, something like a single choice. Then, we can define what are the valid values in the schema.

@yychen yychen added the enhancement New feature or request label Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant