Is there a package for user-tagging and user-properties?

2019-02-13 Thread Charles Thayer
I'm aware of django-taggit (and similar) but I'm wondering if there's a package for tagging Users with properties that have values of different types, such as strings, ints, datetimes, etc. For example, one might tag a user with "power-user", add a property for "last-visited-on" as datetime(20

Re: Is there a package for user-tagging and user-properties?

2019-03-07 Thread Charles Thayer
n at the start of the > project. Using this method at the middle of the project might cause a lot > of refactoring. > > > https://docs.djangoproject.com/en/2.1/topics/auth/customizing/#extending-the-existing-user-model > > On Thursday, February 14, 2019 at 7:54:43 AM UTC+8, C

Q? Packaging app best practices (lots of questions)

2017-03-10 Thread Charles Thayer
I'm new to packaging apps for external users, so I've been trying to generalize something from a site of mine. I have a bunch of questions about best practices that I thought you might have good input on. It's an app to support "like" and "bookmark" of any object in your system (I realize there a

Question about Guest users and AnonymousUser best practices

2020-03-28 Thread Charles Thayer
I'm trying to convert an existing project to have a "guest user" experience that is very much like a logged in user with some minor differences. Does anyone have opinions, or a pointer to some guides about the best practices around this? We already have foreign keys in a few places that point t

Best DRF Cheatsheet?

2019-08-21 Thread Charles Thayer
I've been using Django with DRF off and on for probably over 5 years now. There are still parts that I'm always needing to look up and review. Anyone know of a one-pager cheatsheet that covers all the annoying details well, like read_only vs write_only vs required, and nesting serializers, etc.?

Re: Best DRF Cheatsheet?

2019-08-27 Thread Charles Thayer
should make one > > > On 21 Aug 2019, at 19:58, Charles Thayer > > wrote: > > I've been using Django with DRF off and on for probably over 5 years now. > There are still parts that I'm always needing to look up and review. Anyone > know of a one-pager cheatshe