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

Access settings from views #5

Closed
amureki opened this issue Mar 11, 2014 · 1 comment
Closed

Access settings from views #5

amureki opened this issue Mar 11, 2014 · 1 comment

Comments

@amureki
Copy link

amureki commented Mar 11, 2014

There is no docs about accessing to created settings from views.
I see the way like this:
print SiteConfiguration.objects.get().site_name
But maybe there is a proper way?

It would be great if you add description to documentation, thank you!

@lazybird
Copy link
Owner

Thanks for your feedback - that's much appreciated.
I have added an example for retrieving the object.

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