Skip to main content

Powerful image management for the Django web framework. Praekelt fork.

Project description

Photologue

Powerful image management for the Django web framework.


Installation
============

Offical releases are available from: http://code.google.com/p/django-photologue/


Source Distribution
-------------------

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

python setup.py 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:

svn checkout http://django-photologue.googlecode.com/svn/trunk/ photologue-trunk

Then either copy the photologue-trunk/photologue directory or create a symlink to the photologue-trunk/photologue directory somewhere on your python path, such as your Django project or site-packages directory.

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

manage.py shell

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


Configure Your Django Settings
------------------------------

Add 'photologue' to your INSTALLED_APPS setting:

INSTALLED_APPS = (
# ...other installed applications,
'photologue',
)

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


Register Photologue with the Django Admin
-----------------------------------------

Add the following to your projects urls.py file:

from django.contrib import admin

admin.autodiscover()


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 manage.py plinit


Instant Photo Gallery
---------------------

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

# urls.py:
urlpatterns += patterns('',
(r'^admin/(.*)', admin.site.root),
(r'^photologue/', include('photologue.urls')),
)

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

myproject/
myapp/
...
templates/
photologue/
...

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

# settings.py:
TEMPLATE_DIRS = ('/path/to/photologue/templates',)


Additional Documentation and Support
------------------------------------

Offical docs:

http://code.google.com/p/django-photologue/w/list

If you have any questions or need help with any aspect of Photologue please feel free to join the discussion group:

http://groups.google.com/group/django-photologue

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-photologue-praekelt-2.10.2.tar.gz (50.6 kB view details)

Uploaded Source

Built Distribution

django_photologue_praekelt-2.10.2-py2.7.egg (110.3 kB view details)

Uploaded Source

File details

Details for the file django-photologue-praekelt-2.10.2.tar.gz.

File metadata

File hashes

Hashes for django-photologue-praekelt-2.10.2.tar.gz
Algorithm Hash digest
SHA256 9fbf612119ed471a02710b3f05fda992a9d716b2655d5c291522ea4d738ce76b
MD5 c84ceef6c3ac4a0356ce8c104d062ef4
BLAKE2b-256 b8d53a9f52f25b415bfbd63ee574b9579bbd6473f0d4b89f37b26e52d1b297d0

See more details on using hashes here.

File details

Details for the file django_photologue_praekelt-2.10.2-py2.7.egg.

File metadata

File hashes

Hashes for django_photologue_praekelt-2.10.2-py2.7.egg
Algorithm Hash digest
SHA256 6ac9425050d0dc5b7e47693c95339969ff3083eabc3bd099f47720d94eee459a
MD5 9055744815abd59e8702a8e72bc21224
BLAKE2b-256 ba546722d03f5e0eba2bb343103cb4f735fb85f44b913254d9314a160089c2cb

See more details on using hashes here.

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