tags:

views:

291

answers:

2

Maybe somebody can show an example of such a task, or specify where to look.

A: 

Download DjangoAMF for this.

Add the amf middleware to middlewares list in settings.py.

To authenticate you just have to use @permission_required decorator on views from amf.django

and add this to your settings.py

AMF_AUTH_FUNC = 'amf.django.authenticate'

Its tested in integrating Flex and DJango. For more details visit, DjangoAMF.

simplyharsh
As i know DjangoAMF requerid S2Flex2 flex component, pyAMF can work with native RemoteObject. right ? and i read that DjangoAMF with hundreds of object it started to corrupt data
sergey
+1  A: 

I would suggest taking a look at the example given by Joel Hooks.

njoyce
Also http://sseetharaman.wordpress.com/2009/10/27/user-authentication-in-django-pyamf-and-flex3-2/ gives a pretty clear walkthrough on how to achieve this.
njoyce