Skip to main content

A reusable Django app to organise images in collections.

Project description

Home-page: https://github.com/bitmazk/django-image-collection
Author: Daniel Kaufhold
Author-email: daniel.kaufhold@bitmazk.com
License: The MIT License
Description: Django Image Collection
=======================

A reusable Django app to organise images in collections and output them in sliders or galleries by simply adding a template tag.

Installation
------------

To get the latest stable release from PyPi

.. code-block:: bash

pip install django-image-collection

To get the latest commit from GitHub

.. code-block:: bash

pip install -e git+git://github.com/bitmazk/django-image-collection.git#egg=image_collection

TODO: Describe further installation steps (edit / remove the examples below):

Add ``image_collection`` to your ``INSTALLED_APPS``

.. code-block:: python

INSTALLED_APPS = (
...,
'image_collection',
'generic_positions',
)

Add the ``image_collection`` URLs to your ``urls.py``

.. code-block:: python

urlpatterns = patterns('',
...
url(r'^image-collection/', include('image_collection.urls')),
url(r'^pos/', include('generic_positions.urls')),
)

Before your tags/filters are available in your templates, load them by using

.. code-block:: html

{% load image_collection_tags %}


Don't forget to migrate your database

.. code-block:: bash

./manage.py migrate image_collection
./manage.py migrate generic_positions


Usage
-----

TODO: Describe usage or point to docs. Also describe available settings and
templatetags.


Contribute
----------

If you want to contribute to this project, please perform the following steps

.. code-block:: bash

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 django-image-collection
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch

In order to run the tests, simply execute ``tox``. This will install two new
environments (for Django 1.8 and Django 1.9) and run the tests against both
environments.

Keywords: django,app,reusable,images,pictures,collection,slider,gallery,carousel
Platform: OS Independent
Provides-Extra: dev

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-image-collection-0.3.0.tar.gz (14.6 kB view details)

Uploaded Source

File details

Details for the file django-image-collection-0.3.0.tar.gz.

File metadata

  • Download URL: django-image-collection-0.3.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.8

File hashes

Hashes for django-image-collection-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4823f445f77c964f0ccbbc83216cc44110ea2b66ae721e1a8e4c868319d296a9
MD5 7b235c4865223683c52771a29909e1d4
BLAKE2b-256 6adab78d301ee66215d932024ebfc32179d4695e0b4b3a54cd0c3e2af98bcdac

See more details on using hashes here.

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