Photologue 3.7 released

10 May 2017

Today we're releasing Django Photologue 3.7. The changes in this version are:

  • Now works with Django 1.11. Deprecated support for Django 1.9.
  • Fixed the management commands to work in the latest versions of Django.
  • Fixed an issue with some photo sizes not being created (see #170).
  • Updated translations for French and Basque (provided by matthieu.payet and urtzai).

As usual, my thanks go to all the contributors who help fix and improve Photologue.

Photologue 3.5 released

9 Jan 2016

Today I am very pleased to announce that django-photologue 3.5 is released and available for immediate download from the Python Package Index (PyPI).

This release comes only 2 weeks after the previous one; during this time several pull requests were sent in, together with a number of bug reports, and there was also a missing migration in version 3.4... so it seemed appropriate to immediately release a new version.

The full list of changes is:

  • Increased length of 'title' fields to 250 chars in order to store longer title.
  • Rotate image before resize, to comply with height/width constraints (see #145).
  • Added forgotten migration (#148).
  • Changing "Photo" image leaves extra files on server (#147).
  • Normalize filenames to ASCII so they work across all filesystems (#109).
  • Updated Hungarian translation.

Photologue 3.4.1 released

23 Dec 2015

Today I am very pleased to announce that django-photologue 3.4.1 is released and available for immediate download from the Python Package Index (PyPI).

Upgrade notes:

  • The EXIF property of an Image is now a method instead.

The full list of changes is:

  • Dropped support for Django 1.7.
  • Fixed a few minor issues with the unit tests.
  • Adding a watermark was crashing (fix suggested by hambro).
  • Added/updated translations: Danish, Slovak (contributed by Rasmus Klett, saboter).
  • Fixed Django 1.9 Deprecation warnings (contributed by jlemaes).
  • Processing of EXIF data was broken (and very broken in Python 3) - updated library and bug fixes.

As usual, my thanks go to all the contributors who help fix and improve Photologue.

Photologue 3.3.2 released

20 Jul 2015

Today I am very pleased to announce that django-photologue 3.3.2 is released and available for immediate download from the Python Package Index (PyPI).

There are no major changes in this version - just a number of bugfixes and updated translations. Oh - and Photologue is now available as a Python Wheel :-)

The full changelog follows:

  • In the initial data setup, the 'thumbnail' photosizes should not increment theview count (issue #133).
  • Fix typo in admin text (issue reported by Transifex user ciastko).
  • Updated translations: Hungarian, Czech, Dutch.
  • Zip upload used gallery title instead of "Title" field for photos (#139).
  • Zip upload: an uploaded photo is not a duplicate of an existing photo simply because they share the same slug.
  • Updated django-sortedm2m version - this should help admin performance for galleries with lots of photos.

As usual, my thanks go to all the contributors who help fix and improve Photologue.

Photologue 3.2 released

12 May 2015

Today I am very pleased to announce that django-photologue 3.2 is released and available for immediate download from the Python Package Index (PyPI).

The main change in this release has been to deprecate several features e.g. tagging. This is part of a long-term goal to make Photologue a smaller, leaner project, but one that is very easy to customise.

The full changelog follows:

  • Dropped support for Django 1.6.
  • Rotation of photos based upon EXIF data if available, so they get displayed correctly (#122).
  • Misc doc tweaks.
  • Only clear scale cache if image has changed.
  • Pagination is now hard-coded to 20 items per page - it's a convenience to have it available as soon as the app is run, but having settings to tweak this value is not needed as it's so easy to override in a Django project.
  • PHOTOLOGUE_GALLERY_PAGINATE_BY and PHOTOLOGUE_PHOTO_PAGINATE_BY were previously deprecated and have now been removed.
  • Tagging has been removed from Photologue.
  • All references to 'title_slug' field have been removed.
  • Django can now natively chain custom manager filters - so the dependency on django-model-utils is removed.
  • Updated German translation.
  • Improved setup file.

Photologue 3.1 released

3 Nov 2014

Today I am very pleased to announce that django-photologue 3.1 is released and available for immediate download from the Python Package Index (PyPI).

The main change in this version is that the bulk upload facility has been moved to its own custom page in the django admin - previously its relied on a fake table to work. This 'feature' dated back to before the Django admin added support for custom page, and I am very glad to get rid of it!

The bulk upload can now be accessed from the Photo changelist page.

Additionally, a number of bugs have been fixed.

This release follows quite soon after release 3.0. This is because I was able to work on it during a coding sprint at Pyconfr, during which Pierre Bousquié got involved and fixed a couple of longstanding bugs - many thanks for his contributions.

The full changelog follows:

  • The 'zip upload' functionality has been moved to a custom admin page.
  • Refactor add_accessor_methods to be lazily applied (see #110).
  • Updated German translation.
  • Several improvements to the sample Bootstrap templates.
  • Support CACHEDIR.TAG spec issue #89
  • Fix issue #99 by adding 10 extra char to photo title(max gallery size up to 999999999 images)
  • Sitemap.xml was not aware of Sites (#104).
  • In python 3, gallery upload would crash if uploaded file was not a zip file (#106).

Photologue 3.0.2 released

24 Sep 2014

Good news: we can now use the latest release of django-sortedm2m, which fixes the bug on PostgreSQL mentioned in the previous post.

Photologue 3.0 released

18 Sep 2014

Today I am very pleased to announce that django-photologue 3.0.1 is released and available for immediate download from the Python Package Index (PyPI).

This version introduces several backwards-incompatible changes. UPGRADE WITH CAUTION!

The release of Django 1.7 came with a built-in migrations framework (in replacement of South). This was a big backwards-incompatible change for photologue. I then took this opportunity to introduce several other changes, that hopefully will help improve this package!

As usual, I extend my thanks and gratitude to all the people who have contributed code, translations, bug reports & any kind of help and support to make this package better.

Here is the full changelog:


Upgrade notes:

WARNING: IF YOU'RE USING POSTGRESQL AS A DATABASE & DJANGO 1.7, THE LATEST RELEASE OF DJANGO-SORTEDM2M HAS A BUG. INSTEAD, YOU'LL HAVE TO MANUALLY INSTALL:

pip install -e git://github.com/richardbarran/django-sortedm2m.git@9a609a1c6b790a40a016e4ceadedbb6dd6b92010#egg=sortedm2m

THE FOLLOWING CHANGES BREAK BACKWARDS COMPATIBILITY!

  • Django 1.7 comes with a new migrations framework which replaces South - if you continue to use Django 1.6, you'll need to add new settings. Please refer in the docs to the installation instructions. If you're upgrading to Django 1.7 - upgrade Photologue first, THEN upgrade Django.
  • The Twitter-Bootstrap templates - previously in 'contrib' - become the default; the previous templates are moved to 'contrib'.
  • The django-tagging library is no longer maintained by its author. As a consequence, it has been disabled - see the docs for more information (page https://django-photologue.readthedocs.org/en/latest/pages/customising/settings.html#photologue-enable-tags)
  • Support for Django 1.4 and 1.5 has been dropped (Photologue depends on django-sortedm2m, which has dropped support for 1.4; and Django 1.5 is no longer supported).
  • PHOTOLOGUE_USE_CKEDITOR has been removed.
  • Many urls have been renamed; photologue urls now go into their own namespace. See the urls.py file for all the changes.

Other changes:

  • Support for Amazon S3 to store images (thank you Celia Oakley!).
  • List views have changed urls: instead of /page/<n>/, we now have a /?page=<n> pattern. This is a more common style, and allows us to simplify template code e.g. paginators!
  • date_taken field not correctly handled during single photo upload (#80).
  • Removed deprecated PhotologueSitemap.
  • Gallery zip uploads would fail if the title contained unicode characters.
  • Gallery-uploads: Do not require title for uploading to existing gallery (#98).
  • The Photologue urls used to use names for months; this has been changed to using numbers, which is better for non-English websites (#101).

Welcome to the demo website

10 Sep 2014

I have set up this website as a quick demo of the django-photologue package. The templates used are those included in Photologue 3.0, so they should give you a good idea of what Photologue does 'out of the box'.

You can log in to the admin, add new photos and galleries, and generally play around with data.

Note: the database gets reset every few hours!

For now, this website is running against the 'master' branch of Photologue - in the next week or two, I will release Photologue 3.0 and update this website to use it.