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 <demiank@gmail.com> wrote:
--this is the URS i getand 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.9thanks 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+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/5c6c4fbe-836b-4f77-b5fe-64bdc382e35e%40googlegroups.com.
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+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/CAJri7SQaPm8EMAai%2Bx-gvmiVdCBZM6CKjHHn5XwSn8VpRRcStA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment