Re: How to decompose URL into model and parameters

2014-08-14 Thread 9devmail
Yes, I figured it out. Thank you. -- 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

Re: How to decompose URL into model and parameters

2014-08-14 Thread Collin Anderson
It raises an Http404 if it doesn't exist. Is that what's going on? -- 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

Re: How to decompose URL into model and parameters

2014-08-14 Thread 9devmail
Line match = urlresolvers.resolve(urlsplit(url).path) stops executing the script and redirects me to given URL. -- 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

Re: How to decompose URL into model and parameters

2014-08-14 Thread Collin Anderson
from django.core import urlresolvers match = urlresolvers.resolve(urlsplit(url).path) view = match.func params = math.args https://docs.djangoproject.com/en/dev/ref/urlresolvers/#resolve -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsub