ocf / ocflib

Python libraries for account and server management
https://pypi.python.org/pypi/ocflib
Other
15 stars 32 forks source link

databasing holidays #117

Closed asaiacai closed 6 years ago

asaiacai commented 6 years ago

Eventual goal is to have web front-end to add holidays / temp hour changes be databased instead of having to make PR's everytime

chriskuehl commented 6 years ago

can we move this code to ocfweb if we're going to do this?

it would be better for ocfweb to provide an API (and talk to mysql itself) then to have every single thing that needs hours to talk to mysql

we should strive to have one thing provide an interface over top of a backing datastore rather than everything reaching into the datastore.

asaiacai commented 6 years ago

I'll move this to ocfweb