Passing Multiple Parameters To Django Url - Unexpected Keyword Argument
How to can I address this NoReverseMatch error? Context I want to document this question as much as possible in order to be able to detail the origin of the problem. I have a model
Solution 1:
In the URL regex you have to specify, name of the kyword arg you're passing:
url(r'^contact-to-owner/(?P<email1>[\w.@+-]+)/from/'r'(?P<email1>[\w.@+-]+)/(?P<email3>[\w-]+)/$', contact_owner_offer, name='contact_owner_offer'),
This is referred here:
Solution 2:
Why not using simple url with get params?
e.g. "contact-to-owner/?owner-email=xxx&user-email=xxx&title=xxx"
Post a Comment for "Passing Multiple Parameters To Django Url - Unexpected Keyword Argument"