Problems making custom widgets with newforms-admin

2007-11-25 Thread Julien
Hi all, I have tried my chance in the user group with no avail. I think this might be of interest for the developer's community. I've been trying to create a custom widget using the newforms-admin branch. This widget is to replace the classic select box for ManyToManyFields by a list of grouped

Re: Problems making custom widgets with newforms-admin

2007-11-25 Thread Honza Král
On 11/25/07, Julien <[EMAIL PROTECTED]> wrote: > > Hi all, Hi, > I have tried my chance in the user group with no avail. I think this > might be of interest for the developer's community. > > I've been trying to create a custom widget using the newforms-admin > branch. This widget is to replace t

Re: Lets talk about a dynamic limit_choices_to again :)

2007-11-25 Thread William Waites
On Fri, Nov 23, 2007 at 02:05:28PM -0800, Dmitri Fedortchenko wrote: > > I found this ticket: > http://code.djangoproject.com/ticket/2445 > > It's not seen much activity for a while, but in september jkocherhans > posted some news which I found interesting. So since I needed this > functionality

Re: Lets talk about a dynamic limit_choices_to again :)

2007-11-25 Thread Dmitri Fedortchenko
I totally agree, I think it was a great idea and I am glad to help in implementing it! William: if you don't have edit_inline objects that need this functionality, you should try my patch. I'd love to hear some feedback! :) It makes it super easy to do something that no admin can be without: IE t

Re: Problems making custom widgets with newforms-admin

2007-11-25 Thread Julien
Hi, I didn't say there was a bug, and I admit my approach in the code was probably not the best/most elegant one. But I am new in Django and I struggled for several days with it as I found very little help. I know that the branch newforms-admin (both code and documentation) is still under constr

[SECURITY] Session Hijacking in Django

2007-11-25 Thread David Ross @ Wolfeon
Hello, I'm requesting someone please fix the code to the sessions module to make Django secure. Currently Django is vulnerable to session hijacking. Even though the length of the keys are long, a brute force attack would not be difficult to gain access to a site until they get a valid item in the

Re: [SECURITY] Session Hijacking in Django

2007-11-25 Thread James Bennett
On 11/25/07, David Ross @ Wolfeon <[EMAIL PROTECTED]> wrote: > I'm requesting someone please fix the code to the sessions module to > make Django secure. I'm going to play devil's advocate here, not out of any personal malice, but simply because it's important to have *someone* do it in a case li