Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

zinnia-theme-bootstrap-4

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zinnia-theme-bootstrap-4

Bootstrap 4 theme for django-blog-zinnia

pipPyPI
Version
0.6
Maintainers
1

====================== Zinnia-theme-bootstrap

Zinnia-theme-bootstrap-4 is a python package providing a theme built on Bootstrap 4 for django-blog-zinnia_. This is forked and adapted from Zinnia Theme Bootstrap

Installation

First of all you need to install and configure django-app-namespace-template-loader_ into your project.

The once Zinnia is installed_ on your Django project and this package installed on your PYTHON_PATH, simply register the zinnia_bootstrap4 application in the INSTALLED_APP section of your project's settings.

Now Zinnia is Bootstrap ready.

.. warning::

  • zinnia_bootstrap4 must be registered before the zinnia app to bypass the loading of the Zinnia's templates.
  • You need to use the django.template.loaders.eggs.Loader template loader if you have installed the package as an egg.

Setting up Demo

To try out the demo, create a virtual environment. This is recommended but not necessary. The recommended python version is 3.

Next, install the following libraries

`pip install django django-blog-zinnia django-app-namespace-template-loader zinnia-theme-bootstrap-4`

now run the following command to create the required tables.

`django-admin migrate --settings "demo_zinnia_bootstrap.settings"`

Run the following command if you want an user id and password to login to the admin section.

django-admin createsuperuser --settings "demo_zinnia_bootstrap.settings"

Run the following command to start the server

django-admin runserver --settings "demo_zinnia_bootstrap.settings"

.. _Bootstrap 3: http://getbootstrap.com/ .. _django-blog-zinnia: http://www.django-blog-zinnia.com/ .. _django-app-namespace-template-loader: https://github.com/Fantomas42/django-app-namespace-template-loader .. _Zinnia is installed: http://docs.django-blog-zinnia.com/en/latest/getting-started/install.html .. _Zinnia Theme Bootstrap: https://github.com/django-blog-zinnia/zinnia-theme-bootstrap

Keywords

django

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts