annotate gpp/accounts/fixtures/accounts.json @ 552:9e42e6618168
For bitbucket issue #2, tweak the admin settings for the Post model to
reduce slow queries. Define our own queryset() method so we can control the
select_related(), and not have it cascade from post to topics to forums to
categories. Removed 'topic' from list_display because MySQL still sucked with
2 inner joins. Now it seems to be tolerable with only one join to User.
author |
Brian Neal <bgneal@gmail.com> |
date |
Wed, 25 Jan 2012 20:07:03 -0600 |
parents |
953c71f382df |
children |
|
rev |
line source |
bgneal@236
|
1 [
|
bgneal@236
|
2 {
|
bgneal@236
|
3 "pk": 1,
|
bgneal@236
|
4 "model": "accounts.illegalusername",
|
bgneal@236
|
5 "fields": {
|
bgneal@236
|
6 "username": "root"
|
bgneal@236
|
7 }
|
bgneal@236
|
8 },
|
bgneal@236
|
9 {
|
bgneal@236
|
10 "pk": 2,
|
bgneal@236
|
11 "model": "accounts.illegalusername",
|
bgneal@236
|
12 "fields": {
|
bgneal@236
|
13 "username": "sg101"
|
bgneal@236
|
14 }
|
bgneal@236
|
15 },
|
bgneal@236
|
16 {
|
bgneal@236
|
17 "pk": 3,
|
bgneal@236
|
18 "model": "accounts.illegalusername",
|
bgneal@236
|
19 "fields": {
|
bgneal@236
|
20 "username": "surfguitar101"
|
bgneal@236
|
21 }
|
bgneal@236
|
22 },
|
bgneal@236
|
23 {
|
bgneal@236
|
24 "pk": 4,
|
bgneal@236
|
25 "model": "accounts.illegalusername",
|
bgneal@236
|
26 "fields": {
|
bgneal@236
|
27 "username": "webmaster"
|
bgneal@236
|
28 }
|
bgneal@236
|
29 }
|
bgneal@236
|
30 ] |