Igor Starikov

Results 187 comments of Igor Starikov

Something like the following I think ``` article_ids = [flag.object_id for flag in Article.get_flags_for_types([Article], user=user, status=1)[Article]] arcticles = Article.objects.filter(id__in=article_ids) ```

There're improvements now available in `master`: ``` articles = [ flag.linked_object for flag in Article.get_flags_for_type( user=user, status=1, with_objects=True ) ] ```

Thank you for the report. Please check the latest bookmark and Question IDs. Maybe you have a huge number of those?

> I forgot to mention that I am using UUID as the primary key, could that be the issue? Seems so. Generic Foreign Key expects Integers to represent a tie...

You may want to try various approaches to see what plays the best. For example use [db_queries](https://pytest-djangoapp.readthedocs.io/en/latest/fixtures_db.html#pytest_djangoapp.fixtures.db.db_queries) fixture in your tests to see what SQL commands are produced for your...

Thank you for your participation %) I'd review it in a few days.

Universal alternatives are always more welcome. No 2 sounds interesting. I'm taking a time out to think over that. Please inform me if any new ideas.

Overall impression of the approach is fine, yet we need to polish some rough edges.

There are no fancy forms in sitegate, why do you think it'd be useful?

That's a dependency that should be thoroughly thought out. If a compatibility layer might be done in a backward-compatible manner, with respect for those who do not want to deal...