localist/api/views
madeleinema 175ffda130 added cors headers to settings file, and changed request.post to json.loads(request.body) for frontend (#2)
I updated the

- settings.py file to influce cors headers
- requirements.txt to include cors-headers
- Updated views/events, categories, and tags "request.post" to "json.loads(request.body)"
Please approve.

Co-authored-by: Madeleine <madeleine@Madeleines-MacBook-Air.local>
Reviewed-on: #2
Reviewed-by: dominic <me@domdit.com>
2026-06-20 17:59:53 -04:00
..
base.py adding tag and category 2026-06-20 18:00:06 -04:00
category.py added cors headers to settings file, and changed request.post to json.loads(request.body) for frontend (#2) 2026-06-20 17:59:53 -04:00
event.py added cors headers to settings file, and changed request.post to json.loads(request.body) for frontend (#2) 2026-06-20 17:59:53 -04:00
tag.py added cors headers to settings file, and changed request.post to json.loads(request.body) for frontend (#2) 2026-06-20 17:59:53 -04:00