You should stop at /pago/index
the fields after ? are accessible by the GET dictionary.
I did something like this and I used (r'^search/$') expression. when I
get a url like:
http://testsystemser.cloudapp.net/*search*/?topic=payment&id=identificador-de-notificación-de-pago
I do something like this in the view function:
def search (request):
topic = *request.GET['topic']*
id = *request.GET['id']*
#do more stuff
hope this helps
على الخميس 17 تـمـوز 2014 00:24, كتب Matias Araujo:
Hi all! im devoloping a site in django and i need to recive an http
request with an url of this type:
http://testsystemser.cloudapp.net/pago/index?topic=payment&id=identificador-de-notificación-de-pago
but i cant make it match with my urlconf in my project, i try with the
following ur:
url(r'pago/index/(?P<topic>\w)/(?P<id>\w)', 'apps.pagos.views.index',
name='index'),
l but it didnt match so i cant handle the request and recive the
information i need.
--
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+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
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/6303a363-cd4d-47cc-af1c-ea804dd77a3d%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/6303a363-cd4d-47cc-af1c-ea804dd77a3d%40googlegroups.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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/53C6F9AB.4010809%40gmail.com.
For more options, visit https://groups.google.com/d/optout.