Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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.

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.