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

Fake Likes generation in factory #175

Closed
Tracked by #167
p0lygun opened this issue Apr 20, 2023 · 0 comments
Closed
Tracked by #167

Fake Likes generation in factory #175

p0lygun opened this issue Apr 20, 2023 · 0 comments
Labels
1 priority: medium 🥈 issues that needs to be done in near future Blocked This feature/fix requires another feature/fix to be implemented enhancement ✨✨ New feature or request good first issue 🎖 Good for newcomers type:backend 🖥 issues that need addition/modification on backend
Milestone

Comments

@p0lygun
Copy link
Member

p0lygun commented Apr 20, 2023

Error

Blocked till #174 closes

The factory should have a command to give likes to any experience.
As the number of likes are counted and is not a static number

liked_by = models.ManyToManyField("core.Profile", blank=True)

def like_count(self):

Fake user accounts will be needed

Warning
The command should have a security check so that it is never allowed to be run in the production environment to give fakes like

@p0lygun p0lygun added Blocked This feature/fix requires another feature/fix to be implemented enhancement ✨✨ New feature or request good first issue 🎖 Good for newcomers 1 priority: medium 🥈 issues that needs to be done in near future type:backend 🖥 issues that need addition/modification on backend labels Apr 20, 2023
@p0lygun p0lygun added this to the v1.5 milestone Apr 20, 2023
@p0lygun p0lygun closed this as completed in 3870095 Jul 9, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in global feature tracker Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 priority: medium 🥈 issues that needs to be done in near future Blocked This feature/fix requires another feature/fix to be implemented enhancement ✨✨ New feature or request good first issue 🎖 Good for newcomers type:backend 🖥 issues that need addition/modification on backend
Projects
Status: Done
Development

No branches or pull requests

1 participant