Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feed attribute #489

Merged
merged 1 commit into from
May 18, 2023
Merged

Add feed attribute #489

merged 1 commit into from
May 18, 2023

Conversation

itsthejoker
Copy link
Member

Relevant issue: #174

Description:

Add a feed attribute that contains the subreddit name. This will automatically be populated on all new submissions, but will need to be populated manually by SSH'ing into the server and and running:

from blossom.api.models import Submission
all = Submission.objects.filter(feed__isnull=True)
for s in all:
  s.save()

Checklist:

  • Code Quality
  • Tests (if applicable)
  • Inline Documentation

@itsthejoker itsthejoker requested a review from a team as a code owner May 18, 2023 03:14
@itsthejoker itsthejoker merged commit 4aa10c2 into master May 18, 2023
4 checks passed
@itsthejoker itsthejoker deleted the add-feed branch May 18, 2023 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant