django-photos

This is a simple photo-app for Django
Download

django-photos Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Julian Moritz

django-photos Tags


django-photos Description

This is a simple photo-app for Django django-photos is a simple photo application for Django.InstallationInstall django-photos via pip from the repository:pip install -e hg+http://bitbucket.org/feuervogel/django-photos#egg=django-photosIt comes with django-pagination, easy_thumbnails and django-taggit.Add all apps to your INSTALLED_APPS in your settings.py:INSTALLED_APPS = ( # ..., 'photos', 'taggit', 'pagination', 'easy_thumbnails', # ...,)Add pagination.middleware.PaginationMiddleware to your MIDDLEWARE_CLASSES and make sure that django.core.context_processors.request is in the list of TEMPLATE_CONTEXT_PROCESSORS.Run python manage.py syncdb to sync the database:python manage.py syncdbTake 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. Requirements: · Python · Django What's New in This Release: · 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


django-photos Related Software