django-siteflags icon indicating copy to clipboard operation
django-siteflags copied to clipboard

Reusable application for Django allowing users to flag/bookmark site objects

Results 4 django-siteflags issues
Sort by recently updated
recently updated
newest added

Let's say I have an **Article** model that inherits from ModelWithFlag. Users can bookmark articles and I want to list all the bookmarks a user has on their profiles. How...

question

My model looks like this: ``` class Question(ModelWithFlag): ... FLAG_BOOKMARK = 10 def bookmark_add(self, user): return self.set_flag(user, status=self.FLAG_BOOKMARK) def bookmark_remove(self, user): return self.remove_flag(user, status=self.FLAG_BOOKMARK) def bookmark_check(self, user): return self.is_flagged(user, status=self.FLAG_BOOKMARK)...

question

I was hoping to do a quick check here. If I were to populate a queryset with objects of a certain type (in this case Profile), that were flagged a...

question

When I run `makemigrations` for my own project, `django` always generates a migration for `django-siteflags`, `site-packages/siteflags/migrations/0002_alter_flag_content_type_alter_flag_user.py` ```python # Generated by Django 4.2.1 on 2023-06-09 13:57 from django.conf import settings from...