Skip to main content

This is a simple photo-app for django.

Project description

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.

News

Versioning is in the major-minor-micro-style. Only minor updates are mentioned here, because micro-Versions include bugfixes only.

0.2

Release date: 30-Sep-2010

  • Security enhancements (security by obscurity)

  • Bugfixes (deleting model instance deletes all thumbnail variants from disk)

  • Photo.name will be calculated from filename if not given.

  • Admin has a thumbnail now

0.1

Release date: 28-Sep-2010

  • Basic functionality

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-photos-0.2.10.tar.gz (20.1 kB view hashes)

Uploaded Source

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