Re: Oracle patch is ready

2007-04-29 Thread benk
Hi Ian, Thanks for the response. This isn't actually a show stopper for me, I was just logging the issue as I stumbled across it. Unfortunately I am not a Oracle expert so I don't have any useful database level suggestions. My only thoughts with regards to Django is that this issue/limitation sh

Re: Oracle patch is ready

2007-04-29 Thread Ian Kelly
Hi Ben, Unfortunately (or fortunately, depending on your point of view), Oracle doesn't allow the DISTINCT keyword to be used when the SELECT list includes a LOB column. Matt and I talked about this a couple of weeks ago, but we couldn't see there being any good solution to the problem, so we ju

Re: Oracle patch is ready

2007-04-29 Thread benk
Hi Everyone, I think I may have found a bug with the way Django/Oracle is handling NCLOB datatypes (used by TextFields) and the SELECT DISTINCT statements. I have submitted a ticket (#4186). Regards --~--~-~--~~~---~--~~ You received this message because you are

Re: loading.py - get_apps(), get_app() and load_app()

2007-04-29 Thread Malcolm Tredinnick
On Sun, 2007-04-29 at 10:19 -0700, Vinay Sajip wrote: > I need some help with understanding some aspects of the above-named > functions. load_app is internal to loading.py and is called by both > get_apps and get_app to import a specific app module. But get_app(x) > first calls get_apps, which loa

Re: Serialize model properties enhancement

2007-04-29 Thread Russell Keith-Magee
On 4/28/07, David Elias <[EMAIL PROTECTED]> wrote: > > > > On Apr 28, 2:48 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: > > The open question in my mind is where the serialized data goes - do we > > put it into the fields block, or do we start a new 'extra' block? i.e, > > which of the f

Re: Two field-related suggestions for newforms.models

2007-04-29 Thread Russell Keith-Magee
On 4/30/07, SmileyChris <[EMAIL PROTECTED]> wrote: > > Regarding suggestion 1: > You can do that already by providing a formfield_callback function. I > made a helper to create a callback function to exclude or only include > certain fields: > http://www.djangosnippets.org/snippets/209/ This is a

Re: Two field-related suggestions for newforms.models

2007-04-29 Thread SmileyChris
Regarding suggestion 1: You can do that already by providing a formfield_callback function. I made a helper to create a callback function to exclude or only include certain fields: http://www.djangosnippets.org/snippets/209/ --~--~-~--~~~---~--~~ You received this

loading.py - get_apps(), get_app() and load_app()

2007-04-29 Thread Vinay Sajip
I need some help with understanding some aspects of the above-named functions. load_app is internal to loading.py and is called by both get_apps and get_app to import a specific app module. But get_app(x) first calls get_apps, which loads (using load_app) all the app modules in INSTALLED_APPS. The

Re: Removing leading and trailing whitespace in forms.CharField clean method

2007-04-29 Thread Adrian Holovaty
On 4/29/07, Mike Thompson <[EMAIL PROTECTED]> wrote: > Is there any interest or value in removing leading and trailing > whitespace as part of the forms.CharField clean method? I don't think it's a good idea to offer this by default -- it seems unobvious and a bit magical. Maybe a separate Field

Removing leading and trailing whitespace in forms.CharField clean method

2007-04-29 Thread Mike Thompson
Is there any interest or value in removing leading and trailing whitespace as part of the forms.CharField clean method? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this grou

Two field-related suggestions for newforms.models

2007-04-29 Thread Russell Keith-Magee
Hi all, Two suggestions about the newforms API: 1) Is there room for a 'fields' argument on form_for_instance and form_for_model - a list of field names that you want included on the form (defaulting to None, meaning the full list), so that it is simple to create a form with a subset of a model'

App labels and tickets #1668 and #3591

2007-04-29 Thread Vinay Sajip
> > Going by "explicit is better than implicit", I think there's room for > > better support for an "app" abstraction in Django. For example, > > looking at contrib/admin/templatetags/adminapplist.py, the label > > displayed for an app in the admin is obtained from the first model's > >_meta.app_

Best way to add hooks for file upload progress

2007-04-29 Thread Mike Axiak
Hey, Recently I've been working on #2070 (and its child ticket, #4165). After combing the sea of comments under #2070, I came across 27 (http://code.djangoproject.com/ticket/2070#comment:27), which mentions the idea of adding hooks for people to store file progress information and even yell to th