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 management command to create fake comments #5504

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

goapunk
Copy link
Contributor

@goapunk goapunk commented Feb 13, 2024

Describe your changes
Add a management command to create fake comments on an idea

testing: create an idea collection module, add an idea, get the id/pk from the django admin (i.e. http://127.0.0.1:8003/django-admin/meinberlin_ideas/idea/). To create one comment as the admin user run python manage.py create_comments --user 1 --idea <the id of the idea you just looked up> --count 1

Tasks

  • PR name contains story or task reference
  • Steps to recreate and test the changes
  • Documentation (docs and inline)
  • Tests (including n+1 and django_assert_num_queries where applicable)
  • Changelog

@goapunk goapunk force-pushed the jd-2024-02-comment-creation branch from 9450fc1 to a6672de Compare July 16, 2024 14:42
@goapunk goapunk changed the title wip: add comment creation add management command to create fake comments Jul 16, 2024
@goapunk goapunk requested review from m4ra and hom3mad3 July 16, 2024 14:43
@goapunk goapunk force-pushed the jd-2024-02-comment-creation branch from a6672de to 9321ff0 Compare July 16, 2024 14:49
@m4ra m4ra merged commit 0689c92 into main Jul 17, 2024
2 of 3 checks passed
@m4ra m4ra deleted the jd-2024-02-comment-creation branch July 17, 2024 08:00
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.

2 participants