jfm / django-stockphoto (http://carcosa.net/jason/software/django/stockphoto/)

Stockphoto is a photogallery application written using the Django web application framework. It is designed to integrate into existing dynamic websites built with Django, to be easy to install, and to have few prerequisites, both in terms of third-party modules and in terms of expectations about site layout. It attempts to make maximum use of built-in Django facilities (authentication, admin pages, generic views) as much as possible in order to provide the simplest possible photogallery application while providing a reasonably full set of features.

Clone this repository (size: 85.5 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/jfm/django-stockphoto/
commit 55: dac454afb5fd
parent 54: 5ee62b93370f
branch: default
Revert pagination of photos, since it's done in the gallery detail view, not the photo list view. This may be a FIXME.
Jason McBrayer / jfm
9 months ago

Changed (Δ51 bytes):

raw changeset »

stockphoto/urls.py (1 lines added, 2 lines removed)

Up to file-list stockphoto/urls.py:

@@ -14,8 +14,7 @@ urlpatterns = patterns('',
14
14
                 paginate_by=24, allow_empty= True),
15
15
            name='stockphoto_gallery_list'),
16
16
	url(r'^(?P<object_id>\d+)/$', object_detail,
17
            dict(info_dict, queryset=Gallery.browsables.all(),
18
                 paginate_by=48, allow_empty=True),
17
            dict(info_dict, queryset=Gallery.browsables.all()),
19
18
            name='stockphoto_gallery_detail'),
20
19
	url(r'^detail/(?P<object_id>\d+)/$', object_detail,
21
20
            dict(info_dict, queryset=Photo.objects.all()),