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

Topic landing tod #2137

Open
wants to merge 13 commits into
base: topic-landing
Choose a base branch
from
Open

Topic landing tod #2137

wants to merge 13 commits into from

Conversation

nsantacruz
Copy link
Contributor

@nsantacruz nsantacruz commented Dec 2, 2024

Description

Adds Topic of the Day module to topic landing page

Code Changes

  • Adds TopicOfTheDayManager.get_topic_of_the_day(). This is a helper function to get the current topic of the day.
  • Adds pytest-django pip package which makes it easier to test django models with pytest. Now any django model objects created in a pytest will be auto-deleted at the end of the test which makes cleanup much easier
  • Add topic of the day API
  • Factors out from . This makes it easy to render an image with given alt text.

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.

1 participant