Modify a Django Admin Template

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
We have a custom built Django site that is having major performance issues. There is an admin template that clients log-in to where they can submit several different types on data for an event. One of these templates is loading several different models and the queries that it is generating are hammering our database and causing us problems.

The data being loaded onto the template is:

Gallery Information
Artworks uploaded by the gallery
Related Artists to the gallery
Offsite Exhibitions related to the gallery

The source of the bottleneck has been traced back to the Related Artists model which is running hundreds of SQL queries each time the page loads. We would like someone to either optimise the query that pulls this data or put the Related Artists information into a separate AdminModel so that load times are at least reduced across the sections.

Attached is a screenshot from Django Toolbar showing average load time (5k ms) as well as samples of the queries are being run.

Additional Project Description:
08/13/2013 at 21:21 IST
Another screenshot from a different query w/ Firebug

Skills required:
Django, MySQL, Python
Additional Files: Screen Shot 2013-08-13 at 16.34.18.JPG
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 154
in 2 days
$ 200
in 7 days
$ 194
in 6 days
Hire winit1
$ 210
in 3 days
$ 190
in 3 days
$ 147
in 3 days
$ 120
in 3 days
$ 164
in 6 days
Hire lAZyqHoVKqbz
$ 155
in 3 days
Hire ahmetozdemir
$ 249
in 10 days