usage of url template tag
I'm trying to generate a URL that looks something like this:
/report/faloom/EventLog/?message=EventSearchString&tool_ids=13&field_1=Tool&field_2=Time&field_3=Module&field_4=Message&submit_preview=Generate+Report
I have the values for the arguments (message, tool_ids, etc) available to me.
My urlconf has:
(r'^report/$', motor.ui.views.index)
If I put this in my template:
{% url motor.ui.views.index %}
I get:
/report/
What do I use as arguments with the url tag to get the URL I want?
I've tried many, many different things, but no matter what, I get a
NoReverseMatch exception.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home