Monstarrrr / rebutify

Where activists improve their advocacy by building, refining and using strong rebuttals to counter the objections to their movement.
https://rebutify.org
9 stars 4 forks source link

Create ViewSet for Arguments #216

Closed seporterfield closed 3 months ago

seporterfield commented 3 months ago

PR #217

Create an API ViewSet that gets/creates/etc. arguments.

Monstarrrr commented 3 months ago

Blocking #4

Monstarrrr commented 3 months ago

Can you set

image

seporterfield commented 3 months ago

Everything sounds splendid 👍

Monstarrrr commented 3 months ago

I've updated the models but didn't do tests

seporterfield commented 3 months ago

hmm we shouldn't need to update the models at all for this. Is something missing? Arguments fit cozily inside the posts table.

What needs changing is how the backend presents posts with id 1 (arguments). That means a new ViewSet.