Sunday, October 31, 2010

Third party object like model field

Hello!
I'd like to ask a bit newbie question but cannot realize how to do it.
How I can implement following model:

class Something(models.Model):
   name = models.CharField(max_length = 50)
   #  and so on..
   #  next fields have predefined Django types
   #...............
   ts = # where ts should be the object created by scikits.timeseries module (http://pytseries.sourceforge.net/)

So, in short words, how can I create model with field that contains third party object? Please point me the directions,

Thanks in Advance
Best Regards
Alex

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