Hey you are passing query string in url not an argument . i thing ur url should work as this
url(r'^run_delete/$', views.run_delete, name='run_delete') and in your view def run_delete(): if request.GET.get('user_del'): On Tue, May 31, 2016 at 3:03 PM, dk <demi...@gmail.com> wrote: > this is the URS i get > > http://127.0.0.1:8000/my_app/run_delete/?user_del=ccc_ccc***a_b***/ > > and i want to be able to get the string *ccc_ccc***a_b**** > > my url pattern is: > > url(r'^run_delete/(?P<user_del>\w+)/$', views.run_delete, name='run_delete') > > > > but it looks like is not catching it, i am missing something? i am using > django 1.9 > > thanks guys > > -- > 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 https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5c6c4fbe-836b-4f77-b5fe-64bdc382e35e%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5c6c4fbe-836b-4f77-b5fe-64bdc382e35e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- *Warm Regard:-* *Mandeep Kumar* <http://www.linkedin.com/in/mandeep444> <http://www.techgig.com/mandeep444> -- 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJri7SQaPm8EMAai%2Bx-gvmiVdCBZM6CKjHHn5XwSn8VpRRcStA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.