Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Using array type data in Django/ Postgresql [RSS Feed]

#1 June 10, 2010 13:11:36

b.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Using array type data in Django/ Postgresql


Hi

Psycopg2 supports array types but I can not find any evident
information whether Django supports them.

Bjørn

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

Offline

#2 June 11, 2010 16:19:57

Euan G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Using array type data in Django/ Postgresql


I'd just create a related model and use a many-to-many field.

Alternatively you could write your own field, but this would restrict
your application to postgres only.

Euan

On Jun 10, 1:03 pm, bjja <bhjakob...@gmail.com> wrote:
> Hi
>
> Psycopg2 supports array types but I can not find any evident
> information whether Django supports them.
>
> Bjørn

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

Offline

  • Root
  • » Django
  • » Using array type data in Django/ Postgresql [RSS Feed]

Board footer

Moderator control

Enjoy the 15th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support