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
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
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
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
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
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
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
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
--~--~-~--~~---