Skip to main content

Django reusable application providing page help

Project description

django-simple-help is a django reusable application providing page help

Installation

  • Obtain your copy of source code from the git repository: git clone https://github.com/DCOD-OpenSource/django-simple-help.git.

  • Run python ./setup.py install from repository source tree or unpacked archive. Or use pip: pip install django-simple-help.

  • If you want to use simple help with django-modeltranslation - install with additional requirements pip install django-simple-help[modeltranslation].

Configuration

Add "simple_help" and "redactor" to settings.INSTALLED_APPS.

INSTALLED_APPS = (

…,

“redactor”,

“simple_help”,

…,

)

If you want to use simple help with django-modeltranslation - add "modeltranslation" to settings.INSTALLED_APPS.

INSTALLED_APPS = (

…,

“modeltranslation”,

…,

)

And additionally, configure these apps as you want.

Add to project settings something like:

INDEX_PAGE_HELP, CONTACT_PAGE_HELP = range(1, 3)

SIMPLE_HELP_CHOICES = [

[INDEX_PAGE_HELP, “Index page help”],

[CONTACT_PAGE_HELP, “Contact page help”],

]

Add to you page view context variable named PAGE_HELP with a value of help you want to show. Load help_tags into page template and call page_help tag. If you use Bootstrap in you project include simple_help/includes/help_button.html and simple_help/includes/help_dialog.html templates to base template, else override default templates as you wish.

Licensing

django-simple-help uses the MIT license. Please check the MIT-LICENSE file for more details.

Contacts

Project Website: https://github.com/DCOD-OpenSource/django-simple-help/

Author: Alexei Andrushievich <vint21h@vint21h.pp.ua>

For other authors list see AUTHORS file.

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

django-simple-help-0.5.1.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

django_simple_help-0.5.1-py2-none-any.whl (16.3 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page