Thanks, I try that! but show me None as value...
I think, that's because the QueryDict is showed in this way:
<QueryDict: {"'data[id]': ['83A0C50B5A0A43AD8F60C1066B16A163'],
'data[status]': ['paid'], 'event': ['invoice.status_changed']": ['']}>
I think the django takes
'data[id]': ['83A0C50B5A0A43AD8F60C1066B16A163'], 'data[status]': ['paid'],
'event': ['invoice.status_changed']
as the "key"...
:(
T.·.F.·.A.·. S+F
*Fellipe Henrique P. Soares*
e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'
*Blog: http://fhbash.wordpress.com/ <http://fhbash.wordpress.com/>*
*GitHub: https://github.com/fellipeh <https://github.com/fellipeh>*
*Twitter: @fh_bash*
On Thu, May 21, 2015 at 10:15 AM, Gergely Polonkai <[email protected]>
wrote:
> Assuming your QueryDict is called my_post_data, use
> my_post_data.get('data[id]').
> On 21 May 2015 15:28, "Fellipe Henrique" <[email protected]> wrote:
>
>> Hello,
>>
>> I need to get one application-form-post content from one server. This
>> server isn't mine.
>>
>> They send to me this application-form-post, and in Django View I receive
>> this:
>>
>> <QueryDict: {'data[id]': ['D6adasd7065C2C0A84C96B47EA17705991B14'],
>> 'data[status]': ['paid'], 'event': ['invoice']}>
>>
>> I need to get: data['id'], data['status'] and event variables..
>>
>> How I do this in django? Because I can't work with QueryDict... I try to
>> transform in python dict, in python list, but anyone works...
>>
>> Any idea for these problem?
>>
>> Regards,
>>
>>
>> T.·.F.·.A.·. S+F
>> *Fellipe Henrique P. Soares*
>>
>> e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \
>> 's/(.)/chr(ord($1)-2*3)/ge'
>> *Blog: http://fhbash.wordpress.com/ <http://fhbash.wordpress.com/>*
>> *GitHub: https://github.com/fellipeh <https://github.com/fellipeh>*
>> *Twitter: @fh_bash*
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAF1jwZFv5zwKHaDAFOz06n_%2B4EiNzzFoYx9t_MfTNnEFranAWg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAF1jwZFv5zwKHaDAFOz06n_%2B4EiNzzFoYx9t_MfTNnEFranAWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACczBULAgWb%3D6sn1JHxeg_nq%2BO%3DwR9bTBNR69QsUSKog1FB%3DKw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACczBULAgWb%3D6sn1JHxeg_nq%2BO%3DwR9bTBNR69QsUSKog1FB%3DKw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAF1jwZFMBR5--WXuwd3-Hdi6KO1sLLBogt%2BE6N3xepvXz_ovsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.