Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 13, 2011 22:06:23

Brian C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Group methods


Are there docs somewhere for the Group methods? E.g., I discovered
through extensive googling that I can call user.groups.all(), but I
can't find docs of an "all()" method, or any other method for Groups.
If there aren't docs, how does one discover the methods?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 13, 2011 22:09:54

Shawn M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Group methods


On 01/13/2011 05:06 PM, Brian Craft wrote:Are there docs somewhere for the Group methods? E.g., I discovered
through extensive googling that I can call user.groups.all(), but I
can't find docs of an "all()" method, or any other method for Groups.
If there aren't docs, how does one discover the methods?You're looking at a RelatedManager:http://docs.djangoproject.com/en/dev/ref/models/relations/Managers in general:http://docs.djangoproject.com/en/dev/topics/db/managers/When you use a foreign key relationship, you have access to therelationship in the reverse direction using the default related manageror by using the related_name keyword argument.Shawn

--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 14, 2011 14:56:02

D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Group methods


http://tinyurl.com/4utep4mOn Jan 14, 12:06 am, Brian Craft <bc...@thecraftstudio.com> wrote:
> Are there docs somewhere for the Group methods? E.g., I discovered
> through extensive googling that I can call user.groups.all(), but I
> can't find docs of an "all()" method, or any other method for Groups.
> If there aren't docs, how does one discover the methods?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 20th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support