-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override template without editing source package? #28
Comments
If you put a template with the same path in your templates directory yours
will be used instead of the package's.
https://docs.djangoproject.com/en/3.0/howto/overriding-templates/ is
actually probably the best resource for this, as it isn't specific to this
project.
…On Thu, Mar 26, 2020 at 9:47 AM Craig Maloney ***@***.***> wrote:
I'm not understanding how to override the template without writing to the
honeypot templates in the package. Is there a way to do this, and if so
could this be explained more clearly in the documentation?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#28>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAB6YSKK5343MFQ7VQETYTRJNMIVANCNFSM4LUHXQEA>
.
|
Hm, I tried this, but didn't seem to have much luck. Does it need to have the honeypot directory as well? |
Yes, include the honeypot part of the path :)
…On Thu, Mar 26, 2020 at 9:54 AM Craig Maloney ***@***.***> wrote:
Hm, I tried this, but didn't seem to have much luck. Does it need to have
the honeypot directory as well?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAB6YSX6BINURRRBAGGUFDRJNM7PANCNFSM4LUHXQEA>
.
|
Ah, found my issue was related to the site-packages getting polled before the local template directories. It's working now. Thanks for the quick response! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not understanding how to override the template without writing to the honeypot templates in the package. Is there a way to do this, and if so could this be explained more clearly in the documentation?
Thanks!
The text was updated successfully, but these errors were encountered: