From 5d0140ef04ababd93c45b5126ee1b412bd778da5 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Sat, 20 Apr 2013 21:45:40 +0800 Subject: bundles: Remove separate public bundle views Having two views for bundles (public and non-public) can cause confusion when bundle owners want to share a URL; it's not obvious that the private URL isn't shareable. This change removes the private URLs, and puts all bundles under the /bundle/// URL space. For non-public bundles, this will just 404 for non-owners. Signed-off-by: Jeremy Kerr --- apps/settings.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings.py') diff --git a/apps/settings.py b/apps/settings.py index eabeffd..537c380 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -110,6 +110,10 @@ NOTIFICATION_FROM_EMAIL = DEFAULT_FROM_EMAIL # Set to True to enable the Patchwork XML-RPC interface ENABLE_XMLRPC = False +# set to True to enable redirections or URLs from previous versions +# of patchwork +COMPAT_REDIR = True + try: from local_settings import * except ImportError, ex: -- cgit v1.2.3