Skip to content
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

Custom function for tools.lg_authority.site_template #2

Open
erazor83 opened this issue Dec 25, 2013 · 1 comment
Open

Custom function for tools.lg_authority.site_template #2

erazor83 opened this issue Dec 25, 2013 · 1 comment

Comments

@erazor83
Copy link

It seems like this is currently not implemented. Am I correct?

Thanks for the response.

@wwoods
Copy link
Owner

wwoods commented Dec 30, 2013

Hi, just saw this! It is implemented, but it's up to you to define.

It's extremely basic. Define it as a 2-tuple or 2 item list:

tools.lg_authority.site_template = [ '<html><head><title>blah</title></head><body><div class="wrapper">', '</div></body></html>' ]

Just like that. Source is from lg_authority/controls/lgauth.py. It claims it supports a function but it doesn't... Oops. I should really just fix the error message there. The function couldn't do much anyway.

Does that help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants