You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

django-primitivegallery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-primitivegallery

A simple image gallery.

0.0.9
pipPyPI
Maintainers
1

django-primitivegallery

A simple and primitive gallery for django.

This project is currently in alpha and not intended for production use.

Requirements

The following packages must be installed:

  • Django >= 1.5
  • Pillow or PIL
  • ImageMagick
  • FFmpeg
  • jhead

Installation

  • Make sure the requirements above are installed. The first two can be installed with pip, the rest can be found in apt-get if you are using a debian based system.

  • Add primitivegallery to your INSTALLED_APPS

  • Add the following settings:

::

PRIMITIVE_GALLERY = { 'IMAGE_ROOT': os.path.join(BASE_DIR, 'images'), 'IMAGE_URL': '/static/' }

Where IMAGE_ROOT is the path to your images on disk and IMAGE_URL are the path the webserver serves them on.

  • Import the primitivegallery urls on some path in your urls.py file:

::

url(r'^', include('primitivegallery.urls')),

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