Re: Name for "choices accessor" methods

2005-09-23 Thread Jason Davies
Adrian Holovaty wrote: > This would be a great addition, but I feel like the function name > ("get_state_display") could be improved. What could we use instead of > "display"? Perhaps get_fieldname_alt() would be nice?

Re: Proposal: get_or_404()

2005-09-23 Thread Adrian Holovaty
On 9/22/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > I propose a new helper function in django.core.extensions, > get_or_404(), which would do this: > > def foo_detail(request, some_lookup): > f = get_or_404(foos, some_field__exact=some_lookup) I've added get_object_or_404 and get

Easy inline editing outside the admin

2005-09-23 Thread Robert Wittams
In my hackathon ticket here: http://code.djangoproject.com/ticket/535, I have been refactoring the admin hacks into the metasystem proper. My latest patch ( django-admin-refactor-4.patch ) enables easy inline editing outside the admin with no messing about in view functions. Here is an example,

Re: i18n and French

2005-09-23 Thread Petar Marić
Well, for starters you could add yourself here: http://code.djangoproject.com/wiki/Localization Welcome to the community :) -- Петар Марић Irrigation of the land with seawater desalinated by fusion power is ancient. It's called 'rain'. - Michael McClary

Re: Web services for Django...

2005-09-23 Thread Amit Upadhyay
Hi Jason, I have been thinking of the same thing, and I have an implementation at http://code.djangoproject.com/ticket/547. Its a near literal copy of SimpleXMLRPCServer, long live open source :-) Jason Huggins wrote: > Has anyone else thought about how SOAP or XML-RPC would work with > Django'

i18n and French

2005-09-23 Thread asrenzo
Hi, Just a simple post to tell you that if you need some help with french translation during your i18n convertion : I'll be glad to help you ;-) Regards, Laurent.