« Return to Thread: How can I use Flex to access foreign-keyed fields in Django?
Thanks for the response. From what I gather, adding the _cache fields to my VO seems a little dirty.
Does anyone know if DjangoAMF handles this dilemma in a cleaner manner?
On Mon, Jan 26, 2009 at 4:30 PM, Joel <imlowdown@...> wrote:
"I personally hate this and wish it was either cleaner or more controllable (in an easy way)."I should add, but not so much that I get off my lazy butt and contribute to the project in a meaningful way. Thanks PyAmf dev team, you guys are awesome! I would like to turn off the caching globally though :>
On Mon, Jan 26, 2009 at 3:24 PM, Joel <imlowdown@...> wrote:http://pastebin.com/m2ffcb77d
I use these methods to grab related models and whatnot.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).
ReferenceError: Error #1056: Cannot create property _title_cache on com.myproject.models.vo.BookVO
-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
_______________________________________________
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?
| Free embeddable forum powered by Nabble | Forum Help |