Sunday, October 31, 2010

Re: django-registration question: activation_key_expired.boolean = True

> This particular object is used by the admin:
>
> http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#django.contri...
>
> Read through that carefully and you'll see the 'boolean' option and a
> few other useful tricks.

Well, this is embarrassing. I had actually read (err, skimmed?) that
page looking for the answer, and did not see the needle in the
haystack. After a more careful reading, it's perfectly clear.

The attribute name 'boolean' threw me off a bit. I thought maybe there
was some Python magic happening related to the fact that the function
returned a boolean. Now all is clear. Thanks very much.

Alan

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment