A Tabler-based, fixed left sidebar django theme.
Project description
django-theme-academy
django-theme-academy
provides the Academy theme for Django websites and applications. Academy provides the following features:
- Built with Tabler, and Bootstrap 5
- A fixed left sidebar with configurable logo
- Breadcrumbs
- A footer with contact information for your organiization
- Includes django-wildewidgets support
Installation
django-theme-academy
supports Python 3.7+, and Django 3+.
To install from PyPI:
pip install django-theme-academy
Update settings.py
Register the module in INSTALLED_APPS
:
INSTALLED_APPS = [
...
'academy_theme',
...
]
Add the custom template context processor:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'OPTIONS': {
...
'context_processors': [
...
'academy_theme.context_processors.theme',
...
],
},
},
]
Optionally configure the theme specific settings. You don't need to define all of these, but instead only the ones you wish to override:
ACADEMY_THEME_SETTINGS = {
# Header
'APPLE_TOUCH_ICON': 'myapp/images/apple-touch-icon.png',
'FAVICON_32': 'myapp/images/favicon-32x32.png',
'FAVICON_16': 'myapp/images/favicon-16x16.png',
'FAVICON': 'myapp/images/favicon.ico',
'SITE_WEBMANIFEST': 'myapp/images/site.webmanifest',
# Footer
'ORGANIZATION_LINK': 'https://myorg.com',
'ORGANIZATION_NAME': 'Organization Name',
'ORGANIZATION_ADDRESS': 'Organization Address',
'COPYRIGHT_ORGANIZATION': 'Copyright Organization'
'FOOTER_LINKS': []
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-theme-academy-0.1.0.tar.gz
(224.7 kB
view hashes)
Built Distribution
Close
Hashes for django-theme-academy-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 674ec97b7419b8681845a28c9f3d7a2c8cbb68b49553f11f904a8468760895a7 |
|
MD5 | 57694485da1ac182d0b17db0c596563e |
|
BLAKE2b-256 | 0100769a68ed7a674a9bcbf24f57125a36a783b6937894b04a93ae7e1931ad8c |
Close
Hashes for django_theme_academy-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be1f197fa5380261f34d4d53e5b7a773f53902bb41d1326f4d64d307521f53cb |
|
MD5 | a85cdf1965bdabb3177d81240d6453ad |
|
BLAKE2b-256 | d880fabc7fd2468ae9cf1e75b93067975ad6a76d9365ac90372938d1f3301a76 |