Yes it will, because the template uses the {% url %} tag and will
respect your urlpatterns. Just make sure you set name="search" in your
overridden pattern.
On 2017-09-12 9:19 AM, [email protected] wrote:
tirsdag 12. september 2017 14.14.13 UTC+2 skrev Christian Kuper følgende:
Just create a new empty template and put {% extends
'template_to_extend' %} at the top. Then you get a template with
your custom name and the same content as the build in template.
Yes, but that doesn’t override the form action URL constructed on line
2 in `search_form.html`, right?
-- Simen
--
You received this message because you are subscribed to the Google
Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Mezzanine
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.