How to create a Django Model Data from Flash/Flex via Pyamf

View: New views
2 Messages — Rating Filter:   Alert me  

How to create a Django Model Data from Flash/Flex via Pyamf

by oso che bol :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi List,

Assume i have a flash/flex form with Field like User from "django.contrib.auth.models.User". So, my question is, when i press signup button, it will create a User data in Database and appear in those data in admin page?

Could you please give me your advice.

Thanks and Regards,
-LN

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

Re: How to create a Django Model Data from Flash/Flex via Pyamf

by Nick Joyce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

If you collate the information from the form into a new User object  
and send that to Django (via PyAMF) and save it then it should all  
work as expected.

Cheers,

Nick

On 22 Jul 2009, at 12:18, oso che bol wrote:

> Hi List,
>
> Assume i have a flash/flex form with Field like User from  
> "django.contrib.auth.models.User". So, my question is, when i press  
> signup button, it will create a User data in Database and appear in  
> those data in admin page?
>
> Could you please give me your advice.
>
> Thanks and Regards,
> -LN
> _______________________________________________
> PyAMF users mailing list - users@...
> http://lists.pyamf.org/mailman/listinfo/users

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