Hi,
-- No, the correct format is //// content=b'' //// otherwise you would just be default content to a string that equals "b". It says that there is no encoding on the string afterwards and it is a byte string. It works the same way Python 2 used to do with unicode strings, in that case it was //// content=u'' ////
Regards,
Andréas
2017-10-06 12:57 GMT+02:00 <utpalbrahma1995@gmail.com>:
I have a doubt....--
As per your given link i guess it should be like //// content=' b ' ////
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 django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/49b79dcb- .ea76-43b6-9dd7-030a9757e310% 40googlegroups.com
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCdwwzZdmPpm8%3DYY_AQuGsDyeLBbLV6ecoSn0iHHwAz91w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment