Installation

Zinnia Drupal can be installed through one of the following methods:

  • Using pip, which is the easiest and recommended way for production websites.

Requirements

In order to use Zinnia Drupal it’s necessary to install and configure Django Blog Zinnia itself. There’s no special requirements for the import application, and standard Zinnia documentation should be followed.

Import of threaded comments is possible as well (preserving the hierarchy), but this requires Zinnia Threaded Comments. Otherwise the comments will be imported, but without information about threads.

Using pip

In order to install latest stable release of Zinnia Drupal using pip, run the following command:

pip install zinnia_drupal

In order to install the latest development version of Zinnia Drupal from Github, use the following command:

pip install -e git+https://github.com/azaghal/zinnia-drupal#egg=zinnia_drupal

Warning

You will need to update the pip installation in your virtual environment if you get the following error while running the above command:

AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex'

You can update pip to latest version with:

pip install -U pip

After this you should proceed to configure your Django installation.

Configuring your Django installation

Once Zinnia Drupal has been installed, you need to perform the following steps in order to make it available inside of your Django Blog Zinnia project:

  1. Edit your project’s settings configuration file (settings.py), and update the INSTALLED_APPS to include application zinnia_drupal. Order does not matter.

After this you will have additional management commands available in your Django Blog Zinnia project that can be used for importing data from Drupal.

Project Versions

Table Of Contents

Previous topic

About Zinnia Drupal

Next topic

Usage

This Page