Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (55 sloc) 2.27 KB


Improved image management for the Django web framework.


Offical releases are available from:

Source Distribution

Download the .zip distribution file and unpack it. From within the extracted directory run the following command:

python install

Tracking the Development Version

The current development version of Photologue can be checked out via Subversion from the project site using the following command:

git clone

You can verify Photologue is available to your project by running the following commands from within your project directory: shell

>>> import photologue
>>> photologue.VERSION
(2, 0, 'rc1')

Configure Your Django Settings

Add 'photologue' to your INSTALLED_APPS setting:

     # ...other installed applications,

*** Confirm that your MEDIA_ROOT and MEDIA_URL settings are correct. ***

Register Photologue with the Django Admin

Add the following to your projects file:

from django.contrib import admin


Sync Your Database

Run the Django 'syncdb' command to create the appropriate tables. After the database in initialized, run the following command to initialize Photologue:

python plinit

Instant Photo Gallery

To use the included photo gallery templates and views you need to first add photologue to your projects file.

urlpatterns += patterns('',
    (r'^photologue/', include('photologue.urls')),

Once your urls are configured you need to copy the directory photologue/templates/photologue to your projects "templates" directory:


If you'd rather, you can also add the absolute path to the photologue/templates directory to your TEMPLATE_DIRS setting.

TEMPLATE_DIRS = ('/path/to/photologue/templates',)
Jump to Line
Something went wrong with that request. Please try again.