SELECT DISTINCT django_date_trunc('year', "photologue_gallery"."date_added") FROM "photologue_gallery" WHERE ("photologue_gallery"."is_public" = True AND "photologue_gallery"."date_added" <= 2013-06-18 01:04:09.508024 )
ORDER BY 1 ASCtook 0.001 seconds
SELECT "photologue_gallery"."id", "photologue_gallery"."date_added", "photologue_gallery"."title", "photologue_gallery"."title_slug", "photologue_gallery"."description", "photologue_gallery"."is_public", "photologue_gallery"."tags" FROM "photologue_gallery" WHERE "photologue_gallery"."id" = 1
took 0.000 seconds
SELECT "basic_cms_navigationlink"."id", "basic_cms_navigationlink"."url", "basic_cms_navigationlink"."name", "basic_cms_navigationlink"."weight", "basic_cms_navigationlink"."regex" FROM "basic_cms_navigationlink"
ORDER BY "basic_cms_navigationlink"."weight" ASC
took 0.000 seconds
SELECT "photologue_gallery"."id", "photologue_gallery"."date_added", "photologue_gallery"."title", "photologue_gallery"."title_slug", "photologue_gallery"."description", "photologue_gallery"."is_public", "photologue_gallery"."tags" FROM "photologue_gallery" WHERE ("photologue_gallery"."is_public" = True AND "photologue_gallery"."date_added" <= 2013-06-18 01:04:09.508024 )
ORDER BY "photologue_gallery"."date_added" DESC LIMIT 15took 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 11 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 11 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 10 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 10 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 9 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 9 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 8 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 8 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 6 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 6 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 5 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 5 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 3 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 3 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds
SELECT COUNT(*) FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 2 AND "photologue_photo"."is_public" = True )took 0.000 seconds
SELECT "photologue_photo"."id", "photologue_photo"."image", "photologue_photo"."date_taken", "photologue_photo"."view_count", "photologue_photo"."crop_from", "photologue_photo"."effect_id", "photologue_photo"."title", "photologue_photo"."title_slug", "photologue_photo"."caption", "photologue_photo"."date_added", "photologue_photo"."is_public", "photologue_photo"."tags" FROM "photologue_photo" INNER JOIN "photologue_gallery_photos" ON ("photologue_photo"."id" = "photologue_gallery_photos"."photo_id") WHERE ("photologue_gallery_photos"."gallery_id" = 2 AND "photologue_photo"."is_public" = True )
ORDER BY "photologue_photo"."date_added" DESCtook 0.000 seconds