example from one of my codes...
import urllibparameters = ({'langpair': '%s|%s' % (self.detected_language, 'en'),'v': '1.0','q': self.words_list.encode('utf-8') })urllib.urlencode(parameters)
but what do you need this? Becasue you can find a more easy reply that uses urlencode.
lista? Are you from Spain? Me too :p
--
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt and/or .pptx
-- On Mon, Aug 30, 2010 at 18:22, refreegrata <refreegrata@yahoo.com> wrote:
Hello lista, I'm a newbie in django. In php i have the urlencode
function for encoding an url with characters "+","ñ","ó", .... Has
Django an urlencode or similar function?
Thanks for read, and sorry my bad english
P.D.: django 1,2.1
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, .ppt and/or .pptx
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment