If you add something like "url("^search/$", mysearch, name="search")" in
the main urls.py of your app above "url("^", include("mezzanine.urls")),"
it should work. I just tried it and it addressed my custom "mysearch"
perfectly.
Am Dienstag, 12. September 2017 17:19:20 UTC+2 schrieb [email protected]:
>
> 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].
For more options, visit https://groups.google.com/d/optout.