[snowy] Lets try pushing the right patch for bug#614815 this time folks
- From: Jeff Schroeder <jschroeder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snowy] Lets try pushing the right patch for bug#614815 this time folks
- Date: Fri, 23 Jul 2010 18:03:55 +0000 (UTC)
commit af0ef3f6d2d27076418d5c5dcfd1dcea5e92c6ce
Author: Jeff Schroeder <jschroeder madisontyler com>
Date: Fri Jul 23 09:55:05 2010 -0700
Lets try pushing the right patch for bug#614815 this time folks
Sandy pointed out this wasn't inline with:
http://bugzilla-attachments.gnome.org/attachment.cgi?id=166392
It should be golden now.
views.py | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/views.py b/views.py
index 593a106..a1cdd86 100644
--- a/views.py
+++ b/views.py
@@ -1,8 +1,5 @@
-from django.http import HttpResponseRedirect, HttpResponse
+from django.http import HttpResponseRedirect
from django.core.urlresolvers import reverse
def user_index(request, username):
- if request.user.is_authenticated() and str(request.user) == str(username):
- return HttpResponseRedirect(reverse("note_index", args=([username])))
- else:
- return HttpResponseRedirect(reverse("snowy_index"))
+ return HttpResponseRedirect(reverse("note_index", args=([username])))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]