Closed humanshield314 closed 1 year ago
My initial thought here is to ultimately serve news and notes saved in a human writable/readable format in a file. Yaml might be easy.
I would like to then read that file in and convert that to json output. Need to figure out how django can do that.
Eitherway we can use the django json output eventually for the endpoint.
We can also use the json object to write out in the template if need be for the time being.
this article is literally everything i want
https://python.land/data-processing/python-yaml
https://github.com/Chiv2-Community/chivstats.xyz-web/pull/16
Resolved by #16
My initial thought here is to ultimately serve news and notes saved in a human writable/readable format in a file. Yaml might be easy.
I would like to then read that file in and convert that to json output. Need to figure out how django can do that.
Eitherway we can use the django json output eventually for the endpoint.
We can also use the json object to write out in the template if need be for the time being.