Closed bswck closed 1 year ago
I just noticed an intended removal of pydantic dependency in the issues and PRs which turns this PR into nonsense. Feel free to either merge this PR or correct the pyproject.toml file that mislead me.
I had pydantic settings before, but decided to remove dependency from pydantic, cause for some cases we can use fastadmin for django/flask and we don't want/need pydantic dependency here.
Let me remove pydantic from toml
Also it makes sense to use ADMIN prefix for settings cause could be some correlation with settings on projects which uses fastadmin
Raised a ticket https://github.com/vsdudakov/fastadmin/issues/37
Since pydantic is a hard dependency, why not?
Summary
Adds validation of configuration