GrafeasGroup / blossom

The website. The app. The everything.
6 stars 3 forks source link

Add title to Submission model #149

Closed TimJentzsch closed 3 years ago

TimJentzsch commented 3 years ago

It would be nice to store the title of a submission in our database to avoid having to access the Reddit API to get it. Even using the normal GET requests with the .json suffix, this is super annoying and error prone.

For now it would be sufficient to only populate it for new submissions and leave the old ones at null. Of course it would be nice to add them later, but I'm guessing it will take ages to get that info from the API.

This should also be made available for the Blossom API, so it should be added to the serializers.