{"id":16314430,"url":"https://github.com/theskumar/django-likes-app","last_synced_at":"2025-10-08T23:02:42.895Z","repository":{"id":25799477,"uuid":"29238263","full_name":"theskumar/django-likes-app","owner":"theskumar","description":"A sample django app to implement project level liking of various django objects. It can also be used to implement voting, banning, etc. in your project.","archived":false,"fork":false,"pushed_at":"2015-02-23T10:02:18.000Z","size":164,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T16:36:18.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theskumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-14T10:02:43.000Z","updated_at":"2015-02-23T10:02:18.000Z","dependencies_parsed_at":"2022-08-24T14:14:43.432Z","dependency_job_id":null,"html_url":"https://github.com/theskumar/django-likes-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-likes-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-likes-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-likes-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-likes-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theskumar","download_url":"https://codeload.github.com/theskumar/django-likes-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250955254,"owners_count":21513494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T21:53:56.723Z","updated_at":"2025-10-08T23:02:42.822Z","avatar_url":"https://github.com/theskumar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A sample django app to implement project level liking of various django objects. It can also be used to implement voting, banning, etc. in your project.\n\n## Public Interfaces:\n\n### `services.remove_like(obj, user)` \n\nRemove an user like from an object.\n\n### `services.add_like(obj, user)`\n\nAdd a like to an object.\n\n### `services.get_liked(user_or_id, model)`\n\nGet the objects liked by an user.\n\n### `services.has_liked(obj, user_or_id)`\n\nWhether the objects is liked by an user.\n\n### `services.get_likes_count(obj)`\n\nGet the number of likes an object has.\n\n### `services.get_likers(obj)`\n\nGet the likers of an object.\n\n---\n\nIt makes use of caching to avoid database queries, so you don't have to.\n\n__Disclaimer:__ This is work in progress, but it's stable enough to be used in any project and is being used in live projects. Do read the soucrce code to understand the working. \n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheskumar%2Fdjango-likes-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheskumar%2Fdjango-likes-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheskumar%2Fdjango-likes-app/lists"}