Fix login to admin site
authorMagnus Hagander <magnus@hagander.net>
Tue, 22 Apr 2014 13:19:15 +0000 (15:19 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 22 Apr 2014 13:19:15 +0000 (15:19 +0200)
global_template/admin/login.html [new file with mode: 0644]
pgcommitfest/settings.py

diff --git a/global_template/admin/login.html b/global_template/admin/login.html
new file mode 100644 (file)
index 0000000..79a9843
--- /dev/null
@@ -0,0 +1,11 @@
+<html>
+<head>
+<meta http-equiv="refresh" content="0;url=/login/?next=/admin/"></meta>
+</head>
+<body>
+<h1>Redirect</h1>
+<p>
+Redirect <a href="/login/?next=/admin/">here</a>
+</p>
+</body>
+</html>
index 94b534daece883a4576c00087ce368f96c84b97b..850961b6ea6d597cff2712fba7366b1d8bd75fd2 100644 (file)
@@ -106,6 +106,7 @@ TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.
+       '../global_template/',
 )
 
 INSTALLED_APPS = (