From b22f94f9d031267ade375130126d7c32cdf3368c Mon Sep 17 00:00:00 2001 From: Jess Date: Sun, 21 Sep 2014 00:49:02 +0200 Subject: [PATCH] some beauty fixes --- data/db.sqlite3 | Bin 92160 -> 93184 bytes meta/static/js/main.js | 2 +- meta/templates/base.html | 11 +---------- meta/templates/index.html | 6 ++++-- meta/views.py | 18 ++++++++++++++++-- mlpccg-web/urls.py | 5 +++-- 6 files changed, 25 insertions(+), 17 deletions(-) diff --git a/data/db.sqlite3 b/data/db.sqlite3 index 511121df19e6a218408b01e27e55da267104cafc..2381d899d87911269e92ef0719c504e5631b5c35 100644 GIT binary patch delta 3233 zcmai$X>3);6~|}JxyzjKTWyvQ7C&r1+blNk`T0FR8;ouCKpX;2*bD)KjcveY-VRB08Q7PTKjq&89ss>p|?P1{IKQZ?PaRE>%%>2S?)dazsKLRkAGl4Gv1yjgy?=Y(Pp6TQ+T6y!OT(3bq%RRLqkiZu_c|Y&*ihJ zd}`#anG0eeOSB3c0|{9pT8r_E_0|23-TCmkj^12mchkZC?C}2njhR%cv2S3{=Kf6T zP-_2zyVD{3(=@N@hl{syn%6&%4=@dbPypT^U80(asJtSnZnovLsOPQNyBIpT7_i9<`~+}~mmFz*^s3S~{I->5(Kklo>aXa|K4R*vZI{l- zwFN`7L-;BD9InIf;7{-m_#7RK<9MvbG|s|>=9t&v0Pe!0_!t)PMf@JVX-@7c z{tEwK;otCIMYG(33yvU?WGi%pGysmWn9x-=lckiyWRr549BqQZ2)9HLlL{$qBM^hOG0mslNM#Ql+ zn$g0$Xbhu`<7h0SgLl(ij4qC+af}KlsKVW>YfYr_90h9s` zl|5ZeWnHI^rg0FQdYaCN&J3z!w44;xGulp?W-vNV1Em;UCqrq2{`o7XQ8loxo23kQ z05?aCjOaE|meF$alw-8rW@=(|+!o3+y6#MBW>oGh)xxr>m1c4f)NGo?h^mcR3(S^k zr`e3Q>Yz48N6iWQDI*7k9F%*^Vo%F6@+JA2Nt3tbHTi4#MVgF-3aGm+O@`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v lp2y9Y^_TFK8qaP~|59lUeL#&^qvk-LzxdAazHRE~^nV>_O0NI_ diff --git a/meta/static/js/main.js b/meta/static/js/main.js index 8177d41..fbc9721 100644 --- a/meta/static/js/main.js +++ b/meta/static/js/main.js @@ -7,7 +7,7 @@ function rateDeck() { var tournaments = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.nonword('name'), queryTokenizer: Bloodhound.tokenizers.nonword, - prefetch: '/tournaments' + prefetch: '/tournaments_json' }); tournaments.clearPrefetchCache() diff --git a/meta/templates/base.html b/meta/templates/base.html index 5ed434b..988e783 100644 --- a/meta/templates/base.html +++ b/meta/templates/base.html @@ -32,16 +32,7 @@