Re: Re: optional arg. 'description' for widget?

2006-12-30 Thread Matthew Flanagan
On 31/12/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: On 12/30/06, Alex Koval <[EMAIL PROTECTED]> wrote: > I found that pretty often I need a "description" being passed to field to > display. I already subclassed > a few widgets to get 'description' argument, and display it where needed. > Fo

Re: Is this a bug in get_list_or_404?!

2006-12-30 Thread Adrian Holovaty
On 12/30/06, medhat <[EMAIL PROTECTED]> wrote: This is the current implementation of get_list_or_404 in django.shortcuts --- def get_list_or_404(klass, *args, **kwargs): obj_list = list(klass._default_manager.filter(*args, **kwargs)) if not obj_list: raise Http404 return obj

Re: URL design for the admin application

2006-12-30 Thread Adrian Holovaty
On 12/29/06, Mihai Preda <[EMAIL PROTECTED]> wrote: 1. Mixed elements on the same level (non-homogenous level): http://foo.com/admin/auth/user/1/ http://foo.com/admin/auth/user/2/ http://foo.com/admin/auth/user/add/ As you see, the last level (after /user/) may contain either a numeric user-id

Re: Is this a bug in get_list_or_404?!

2006-12-30 Thread Honza Král
On 12/30/06, medhat <[EMAIL PROTECTED]> wrote: Hi, This is the current implementation of get_list_or_404 in django.shortcuts --- def get_list_or_404(klass, *args, **kwargs): obj_list = list(klass._default_manager.filter(*args, **kwargs)) if not obj_list: raise Http404 retur

Is this a bug in get_list_or_404?!

2006-12-30 Thread medhat
Hi, This is the current implementation of get_list_or_404 in django.shortcuts --- def get_list_or_404(klass, *args, **kwargs): obj_list = list(klass._default_manager.filter(*args, **kwargs)) if not obj_list: raise Http404 return obj_list --- The problem is that this will return

Re: Error ORA-00918 (column ambiguously defined)

2006-12-30 Thread richmoore
There are two columns called ID in this SQL - looks like a problem with the Oracle backend to me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to djan

[solved] found error traceback in regressiontests model_forms

2006-12-30 Thread dummy
Hi, I've updated to SVN Revision 4269 and run the regressions tests. I attached the error output from the run. I have to say sorry. I run the SVN Revision 4269 tests against Revision 4259 Django, which was my error :) Regards, Dirk -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten

found error traceback in regressiontests model_forms

2006-12-30 Thread dummy
Hi, I've updated to SVN Revision 4269 and run the regressions tests. I attached the error output from the run. Regards, Dirk -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer --~--~-~--~~---