« Return to Thread: How can I use Flex to access foreign-keyed fields in Django?

Re: How can I use Flex to access foreign-keyed fields in Django?

by Joel Hooks :: Rate this Message:

Reply to Author | View in Thread

http://pastebin.com/m2ffcb77d

I use these methods to grab related models and whatnot.

ReferenceError: Error #1056: Cannot create property _title_cache on com.myproject.models.vo.BookVO

If you create a TitleVO object and then make a _title_cache:TitleVO property it will do some ORM bits. I personally hate this and wish it was either cleaner or more controllable (in an easy way).

-joel


On Mon, Jan 26, 2009 at 3:01 PM, Bryan Hughes <huuuze@...> wrote:
I need some help!  Please see the question I posted here:

http://stackoverflow.com/questions/481110/how-can-i-use-flex-to-access-foreign-keyed-fields-in-django

Does anyone know of a solution?  The one posted in the thread results in the following error:

ReferenceError: Error #1056: Cannot create property _title_cache on com.myproject.models.vo.BookVO

_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users



_______________________________________________
PyAMF users mailing list - users@...
http://lists.pyamf.org/mailman/listinfo/users

 « Return to Thread: How can I use Flex to access foreign-keyed fields in Django?