A Django app to manage Reaktion banners.
Project description
===== Banner
Banner is a Django app to add and manage banners for a site.
Detailed documentation is in the "docs" directory.
Quick start
-
Add "banner" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'banner', ]
-
Add the following context processors to your OPTIONS::
'OPTIONS': { 'context_processors': [ ... 'banner.processors.banner_endpoint', 'banner.processors.banner_sidebar_right', 'banner.processors.banner_sidebar_left', 'banner.processors.banner_content', 'banner.processors.banner_bottom', 'banner.processors.banner_top' ] }
-
Include the banner URL conf in your project urls.py like this::
path('banner/', include('banner.urls')),
-
Run
python manage.py migrate
to create the banner models. -
Start the development server and visit http://localhost:/admin/ to create a banner (you'll need the Admin app enabled).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django_reaktion_banner-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b36a7c7139939973b1c30fb1a49f2f00dfce029e68eda5715e66909e8325df |
|
MD5 | 245cd469ae9ce3764ab44415d155f84b |
|
BLAKE2b-256 | 087a8ba60939de160e083a74b9fd4b700f0c5d8a11b2bfb80afdcc2a749db4ab |