django-classy-settings icon indicating copy to clipboard operation
django-classy-settings copied to clipboard

Remove django dependency

Open yourcelf opened this issue 4 years ago • 3 comments
trafficstars

Despite the name, this project really doesn't have anything in it that depends on Django other than the context_processors and tests. This library could be just as useful with other frameworks if settings are needed (flask, FastAPI, etc).

It would be great if the django dependency could be changed to be dev-only dependency for the test harnesses. For projects that don't use/need context_processors, the rest of the library would still work perfectly well without django. Any project needing context_processors would surely already have django installed anyway.

yourcelf avatar Apr 28 '21 21:04 yourcelf

You make a good point... however, have you seen my other project https://github.com/funkybob/confucius ?

funkybob avatar Apr 28 '21 22:04 funkybob

Very intriguing! Thanks.

yourcelf avatar Apr 29 '21 01:04 yourcelf

I keep telling myself I'll write a related lib to provide useful parser functions for Confucius to support Django config objects.

funkybob avatar Apr 29 '21 21:04 funkybob