Hi,

On Apr 9, 12:30 am, Chris <[EMAIL PROTECTED]> wrote:
> I am trying create a custom model field that will create 2 field
> instances, a CharField and a booleanField. I am using this with
> signals and dispatchers to insert data entered from this custom field
> into another model/table that contains a boolean and char field. my
> question is: how can I return 2 field objects in a single model
> subclass class. Seems like it would be similar to what occurs in
> datetimeField but not sure how to implement. so end result would look
> something like this:

<snip>

>
> Any pointers on how to do this?

Download the PDF from here and look at the Custom Model Fields slides:
http://toys.jacobian.org/presentations/2007/oscon/tutorial/

-Rajesh D
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to