incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [8/16] git commit: [#4445] show error message on the form again
Date Fri, 21 Sep 2012 20:18:34 GMT
[#4445] show error message on the form again


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/cf96eb0c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/cf96eb0c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/cf96eb0c

Branch: refs/heads/master
Commit: cf96eb0c7f14075a4cec6ac00a34fd7ebce49ada
Parents: 2263548
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Fri Sep 21 14:54:36 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Fri Sep 21 14:55:56 2012 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/project.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/cf96eb0c/Allura/allura/controllers/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
index 2ac2db0..f833a71 100644
--- a/Allura/allura/controllers/project.py
+++ b/Allura/allura/controllers/project.py
@@ -181,10 +181,10 @@ class NeighborhoodController(object):
                     project_name=project_name, private_project=private_project)
         except exceptions.ProjectOverlimitError:
             flash("You have exceeded the maximum number of projects you are allowed to create",
'error')
-            redirect('.')
+            redirect('add_project')
         except exceptions.ProjectRatelimitError:
             flash("Project creation rate limit exceeded.  Please try again later.", 'error')
-            redirect('.')
+            redirect('add_project')
 
         if project_description:
             c.project.short_description = project_description


Mime
View raw message