Tags: django,codificacion

Sort by: Date / Title /

  1. 9 years ago by macks
    1. from django.utils.encoding import iri_to_uri, smart_str, smart_unicode
    2. from django.utils.http import urlquote
    3.  
    4. url = iri_to_uri('%s?query=%s' % (urlresolvers.reverse('search_home_index'), urlquote(query)))
    5. return HttpResponseRedirect(url)
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2014"></script>

First / Previous / Next / Last / Page 1 of 1 (1 posteets)