Re: PyAmf+Django and foreign keys

2010-04-16 Thread Hviid
Hi try: class Model4(models.Model): model3=ForeignKey(Model3, blank=true, null=true) Regards Martin On 13 Apr., 04:14, Jurassic wrote: > Guys, can you please share your approach to handle complex models > where each model has a ForeignKey to another? I am trying to build a > flex app using Rem

PyAmf+Django and foreign keys

2010-04-12 Thread Jurassic
Guys, can you please share your approach to handle complex models where each model has a ForeignKey to another? I am trying to build a flex app using RemoteObject and [RemoteClass(alias=...)] flex feature to map flex VO to django data models. Here's an approximate scenario I'm working with: ---