SELECT "gradovi_city"."id", "gradovi_city"."name", "gradovi_city"."lat", "gradovi_city"."lng", "gradovi_city"."start_zoom", "gradovi_city"."min_zoom", "gradovi_city"."max_zoom" FROM "gradovi_city" INNER JOIN "gradovi_city_sites" ON ("gradovi_city"."id" = "gradovi_city_sites"."city_id") WHERE ("gradovi_city_sites"."site_id" = 2 AND NOT ("gradovi_city"."name" IN (E'svijet', E'hrvatska', E'zagreb', E'split', E'rijeka')))
ORDER BY "gradovi_city"."name" ASCtook 0.004 seconds
SELECT COUNT(*) FROM "gradovi_company" INNER JOIN "gradovi_city" ON ("gradovi_company"."city_id" = "gradovi_city"."id") WHERE "gradovi_city"."name" = E'zagreb' took 0.029 seconds
SELECT COUNT(*) FROM "gradovi_street" INNER JOIN "gradovi_city" ON ("gradovi_street"."city_id" = "gradovi_city"."id") WHERE "gradovi_city"."name" = E'zagreb' took 0.003 seconds
SELECT "gradovi_location"."id", "gradovi_location"."name", "gradovi_location"."address", "gradovi_location"."lat", "gradovi_location"."lng", "gradovi_location"."description", "gradovi_location"."city_id", "gradovi_location"."slug", "gradovi_city"."id", "gradovi_city"."name", "gradovi_city"."lat", "gradovi_city"."lng", "gradovi_city"."start_zoom", "gradovi_city"."min_zoom", "gradovi_city"."max_zoom" FROM "gradovi_location" INNER JOIN "gradovi_city" ON ("gradovi_location"."city_id" = "gradovi_city"."id") WHERE ("gradovi_city"."name" = E'zagreb' AND NOT ("gradovi_location"."name" = E'dummy' ))
ORDER BY RANDOM() LIMIT 6took 0.002 seconds
SELECT COUNT(*) FROM "gradovi_userlocation"
took 0.001 seconds
SELECT "gradovi_userlocation"."id", "gradovi_userlocation"."name", "gradovi_userlocation"."lat", "gradovi_userlocation"."lng", "gradovi_userlocation"."added", "gradovi_userlocation"."slug" FROM "gradovi_userlocation"
ORDER BY "gradovi_userlocation"."added" DESC LIMIT 15
took 0.002 seconds
SELECT "dogadanja_event"."id", "dogadanja_event"."date", "dogadanja_event"."description", "dogadanja_event"."type_id", "dogadanja_event"."location_id", "dogadanja_event"."ticket_sale", "dogadanja_event"."ticket_sale_url", "dogadanja_event"."eventim_id", "dogadanja_event"."show_event", "dogadanja_eventtype"."id", "dogadanja_eventtype"."name", "gradovi_location"."id", "gradovi_location"."name", "gradovi_location"."address", "gradovi_location"."lat", "gradovi_location"."lng", "gradovi_location"."description", "gradovi_location"."city_id", "gradovi_location"."slug", "gradovi_city"."id", "gradovi_city"."name", "gradovi_city"."lat", "gradovi_city"."lng", "gradovi_city"."start_zoom", "gradovi_city"."min_zoom", "gradovi_city"."max_zoom" FROM "dogadanja_event" INNER JOIN "dogadanja_event_sites" ON ("dogadanja_event"."id" = "dogadanja_event_sites"."event_id") INNER JOIN "gradovi_location" ON ("dogadanja_event"."location_id" = "gradovi_location"."id") INNER JOIN "gradovi_city" ON ("gradovi_location"."city_id" = "gradovi_city"."id") INNER JOIN "dogadanja_eventtype" ON ("dogadanja_event"."type_id" = "dogadanja_eventtype"."id") WHERE ("dogadanja_event_sites"."site_id" = 2 AND "dogadanja_event"."date" >= E'2012-05-18' AND "dogadanja_event"."show_event" = true AND UPPER("gradovi_city"."name"::text) = UPPER(E'zagreb') )
ORDER BY "dogadanja_event"."date" ASCtook 0.003 seconds