hey would i access auth_user_groups within the admin?
how would i*
kushal has quit
zipper joined the channel
i need to list groups and users within the group..
drager
I'm logged in as a user but when I visit a view the user "changes" to another user just for that view. What could cause this?
nearmiss
so is it recommended to be using a custom user class in 1.5 vs. an inherited profile-like class? even if the profile fields have nothing to do with auth, and just need a blank row created on user creation?
knite joined the channel
docs seem to warn against using non-auth related fields in a custom User class, yet everything I can find via google is all about migrating everything to custom Users
apollo13
macabre: you'll have to register the model with the admin
Technodrome
anyone? i really don't want to have to send a context just for a template name or current page
apollo13
nearmiss: depends on your needs :)
nearmiss
heh
macabre
apollo13: maybe i'm missing something - i do have user and group registered in the admin
apollo13: and all i need to import at the top is User and Groups?
Oddo has quit
apollo13
macabre: User.groups.through is the intermediate model, use admin.site.register(that_former_model)
nearmiss
apollo13: I only want user/pass on signup/creation, everything else can be optionally set later, but I'd need a linked record for that 'everything else' tying it back to the user, even if it was empty on creation. Any suggestions? Was leaning towards a profile-like class with just a one to one back to User
macabre
apollo13: okay, thanks
apollo13
zipper: I don't find your ip in the server logs at all
explodes joined the channel
zipper: can you tell me your current ip?
nearmiss: as I said, it depends; can you live with the extra join to the other model if you need it's data?
apollo13 Let me restart my phone. I'm tethering. I'll get back to you.
santiissopasse
I have a list of artists that I pass to a template, in hte template I want to check if the user already follows the artist, so the equivalent of if user.get_profile.artists.all.filter(id = artist.id). What's the best way to do this in a template?
johnraz joined the channel
apollo13
zipper: tethering? that might explain it
nearmiss
given the AUTH_PROFILE_MODULE stuff is deprecated, would I be using something with post_save to link my user info back to a User object?
apollo13
nearmiss: no, just assign the correct user when you create your profile instance
zipper___ joined the channel
nearmiss
apollo13: but I'd be looking to create my profile instace whenever a User is created?
zipper___
I have it on ip 212.49.88.107
zipper has quit
apollo13
nearmiss: ah yeah, signal then
zipper___: so yeah, that's a mobile connection? (over gsm?=
I'm logged in as a user but when I visit a view the user "changes" to another user just for that view. What could cause this? View and url; https://dpaste.de/rhjq8/