On 9/7/05, jws <[EMAIL PROTECTED]> wrote:
> It seems as though 'self.default' is a string set to 'oijpwojefiojpanv'
> when not set with a parameter in the models definition.
> 
> Whuh?

>From django/core/meta/fields.py (near the top):

  # Random entropy string used by "default" param.
  NOT_PROVIDED = 'oijpwojefiojpanv'

So, there. I would probably have done it with something
like:

  NOT_PROVIDED = type('NoDefaultProvided', (), {})

/s

Reply via email to