Re: proposal: get_or_none QuerySet method

2006-12-25 Thread Gary Wilson
Gary Wilson wrote: Jacob Kaplan-Moss wrote: > On 12/24/06 11:15 PM, Gary Wilson wrote: > > Well, the two tickets are different functionality. I could create a > > single patch for both, the only thing was that in the patch for #3180 I > > added an "Updating objects" to the db api documentation,

GenericForeignKey design issue

2006-12-25 Thread wnielson
I've been looking into how generic relations work because I wanted an easier way to use them in the admin interface. I've written some javascript and a little bit of python to make generic relationships quite usable now. However, one thing that I noticed was that in order for my code to work pr

GenericForeignKey design issue

2006-12-25 Thread wnielson
I've been looking into how generic relations work because I wanted an easier way to use them in the admin interface. I've written some javascript and a little bit of python to make generic relationship quite usable now. However, one thing that I noticed was that in order for my code to work pro

newforms: rendering radio fields separately

2006-12-25 Thread Thomas Steinacher
Hello, In newforms, there should be an easy way to render the radio fields separately in the template, because I'd like to insert other form fields between the radio inputs, e.g.: [o] Use existing one: [] [ ] Add a new one: [] At the moment (using widget=forms.RadioSelect) all

newforms:

2006-12-25 Thread Thomas Steinacher
Hello, In newforms, there should be an easy way to render the radio fields separately in the template, because I'd like to insert other form fields between the radio inputs, e.g.: [o] Use existing one: [] [ ] Add a new one: [] At the moment (using widget=forms.RadioSelect) all

GenericForeignKey design issue

2006-12-25 Thread wnielson
I've been looking into how generic relations work because I wanted an easier way to use them in the admin interface. I've written some javascript and a little bit of python to make generic relationship quite usable now. However, one thing that I noticed was that in order for my code to work pro

GenericForeignKey/GenericRelation issues

2006-12-25 Thread wnielson
I've been looking into how generic relations work because I wanted an easier way to use them in the admin interface. I've written some javascript and a little bit of python to make generic relationship quite usable now. However, one thing that I noticed was that in order for my code to work pro

A little admin improvement for more grained permissions

2006-12-25 Thread msaelices
It's a common fact that admin interface is awesome, but if an user have edit permissions in that object class can edit all objects of this class. It obviously sucks. Ok, there is "row level permission" branch, but, generally we dont need all this stuff... it's more simple. Let's go to a example

Re: django with mysql

2006-12-25 Thread Adam Fast
The Python mysqldb library is what you're looking for. It's supported "out of the box". This type of question is also best asked on the django-users group, not django-developers. http://www.djangoproject.com/documentation/install/#get-your-database-running --~--~-~--~~~

newforms: feedback

2006-12-25 Thread [EMAIL PROTECTED]
Hi! I have reimplemented my project to use django.newforms. At all, I conclude that newforms saved some of my time and its a good tool already. But since its a alpha only I had a few troubles and few things which I think are good to change. 1. At first, I already mailed this mailing list about