Rontim / MyCampus-backend

Backend for the MyCampus project
1 stars 0 forks source link

Blog #2

Closed Rontim closed 6 months ago

Rontim commented 6 months ago

We were able to add the blog module. Features include;

We decided to convert the content section to string for simplicity. Since the editor on the client side generates JSON data with all the data required to render the blog, for simplicity we converted the JSON to string and stored it as such, and during retrieval, we converted it back to JSON. This all happens in the blog.serializers.py.