From ea0442b4797fdc34414d1b0c3153298e214766f6 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 31 Oct 2012 00:11:52 +0100 Subject: stats in DB --- templates/apps/stats/user.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/apps/stats/user.html') diff --git a/templates/apps/stats/user.html b/templates/apps/stats/user.html index 8568697..566317c 100644 --- a/templates/apps/stats/user.html +++ b/templates/apps/stats/user.html @@ -2,7 +2,7 @@ {% load datehumanize %} {% block widgets %} $.ajax({ - url: '/api/stats/user/{{username}}', + url: '/api/stats/?user={{request.user.id}}', method: 'GET', beforeSend: function() { $('#graph').spin("flotload"); }, success: function (resp) { -- cgit v1.1