summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Leray <alexandre@alexandreleray.com>2010-11-03 22:52:42 (GMT)
committer Alexandre Leray <alexandre@alexandreleray.com>2010-11-03 22:52:42 (GMT)
commit2bb1be3a1e752a2ba06a4da6c104526a9f6e2684 (patch)
tree058b41e11ee6d8c2e102ec700f0506b54a003c34
parentafc40d3119d7e6f267b32fc10b5b463dcd1fbb3b (diff)
when register, redirects to user index page
-rwxr-xr-xbrainch/views/repositories/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/brainch/views/repositories/create.py b/brainch/views/repositories/create.py
index bcc3e90..245ae46 100755
--- a/brainch/views/repositories/create.py
+++ b/brainch/views/repositories/create.py
@@ -96,7 +96,7 @@ def create(request, username):
You've successfully created a new text \
entitled "%s". """ % repo.name))
- return HttpResponseRedirect("/")
+ return HttpResponseRedirect("/%s" % username)
# Or returns an unbounded form
else:
ctx = {