Saturday, March 26, 2011

Examples of Subclassing models.Field to Account for Postgresql Array Type?

Hello,
I really would like to use the Postgresql Array type in some of my
Django models but I see there is no direct mapping in Django unless I
create my own by subclassing Field.

I've read the documentation, I've tried to do it...I've failed
miserably ;)

Has anyone done this explicitly for Postgresql Array type before that
they could share some code with me?

I'd much appreciate it being a newbie and all.

Thanks
Mazery

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