1. Julian Moritz
  2. django-photos

Source

django-photos /

Filename Size Date modified Message
src/photos
277 B
Added tag 0.2.10 for changeset 605a77e4da4f
411 B
initial commit
251 B
fixed many bugs
461 B
added comment to news
786 B
bugfixes (removing pagination)
3.5 KB
initial commit
211 B
initial commit
953 B
added locales
1.4 KB
some bugfixes in templates and admin

Installation

Install django-photos via pip from the repository:

pip install -e hg+http://bitbucket.org/feuervogel/django-photos#egg=django-photos

or from pypi:

pip install django-photos

It comes with django, pil, easy_thumbnails and django-taggit.

Add all apps to your INSTALLED_APPS in your settings.py:

INSTALLED_APPS = (
        # ...,
        'photos',
        'taggit',
        'easy_thumbnails',
        # ...,
)

Run python manage.py syncdb to sync the database:

python manage.py syncdb

Take care that MEDIA_ROOT and MEDIA_URL are set and the files are served.

Finally add photos.urls to your urls.py:

urlpatterns = patterns('',
        # ...,
        (r'^photos/', 'photos.urls'),
        # ...,
)

For more information read the (not yet available) docs.