Obtaining group members?

2009-08-26 Thread Francis Reyes
Hi all I'm doing some custom permissions in modelAdmin and I need to obtain a list of members from a the group . How can this be done? Thanks FR --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers"

Re: Obtaining group members?

2009-08-26 Thread Ian Kelly
On Wed, Aug 26, 2009 at 10:36 AM, Francis Reyes wrote: > > Hi all > > I'm doing some custom permissions in modelAdmin and I need to obtain a > list of members from a the group . How can this be done? > > Thanks > > FR Please ask questions about using Django on the django-users mailing list. This

Re: Feature proposal: Test client form value extraction

2009-08-26 Thread Joshua Russo
On Wed, Aug 26, 2009 at 12:52 PM, Russell Keith-Magee < freakboy3...@gmail.com> wrote: > > On Wed, Aug 26, 2009 at 4:41 PM, Joshua Russo > wrote: > > I figured someone had done this at some time. > > What's the general consensus on when some thing like this should > > be considered to be added to

Re: Feature proposal: Test client form value extraction

2009-08-26 Thread Russell Keith-Magee
On Wed, Aug 26, 2009 at 4:41 PM, Joshua Russo wrote: > I figured someone had done this at some time. > What's the general consensus on when some thing like this should > be considered to be added to the project and when it should just stay as an > outside utility? It's certainly worth putting up

Re: FileFields and file ownership

2009-08-26 Thread Ole Laursen
On Aug 11, 1:39 pm, Ole Laursen wrote: >   1) a convenient file pointer for facilitating the upload machinery >   2) a field for storing a file, just like storing it directly in the > database except we put the data in the file system No conclusion? Here are some options 1. Apply the patch in

Re: Feature proposal: Test client form value extraction

2009-08-26 Thread Joshua Russo
I figured someone had done this at some time. What's the general consensus on when some thing like this should be considered to be added to the project and when it should just stay as an outside utility? On Wed, Aug 26, 2009 at 7:11 AM, Thomas Guettler wrote: > > Hi, > > some time ago I wrote

Re: Feature proposal: Test client form value extraction

2009-08-26 Thread Thomas Guettler
Hi, some time ago I wrote a snippet which does this: http://www.djangosnippets.org/snippets/467/ {{{ If you want to test a post request to a form, you need to give all input fields, even if you just want to test if one value gets changed. This snippets parses the HTML of a view and gives you