From 76b863e0f39deaa31ca4f6d1cbe24d1e4fb71fa7 Mon Sep 17 00:00:00 2001
From: Ben Adida <ben@adida.net>
Date: Mon, 27 Jul 2009 19:39:31 -0700
Subject: [PATCH] updated helios for a couple of new features and updated
 settings accordingly

---
 helios           | 2 +-
 iacr/__init__.py | 6 +++++-
 settings.py      | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/helios b/helios
index 35969f2..6a80b42 160000
--- a/helios
+++ b/helios
@@ -1 +1 @@
-Subproject commit 35969f2b964c8aa9134c51da492ca0866b946f14
+Subproject commit 6a80b42ad21f3b75fca8fd387cdb5c57b0d8f050
diff --git a/iacr/__init__.py b/iacr/__init__.py
index a1b1253..661ff97 100644
--- a/iacr/__init__.py
+++ b/iacr/__init__.py
@@ -5,5 +5,9 @@ This django app is meant only to connect the pieces of Helios and Auth that are
 import glue
 
 import helios
+import auth.models
 
-helios.TEMPLATE_BASE = "iacr/templates/base.html"
\ No newline at end of file
+helios.TEMPLATE_BASE = "iacr/templates/base.html"
+helios.ADMIN_ONLY = True
+helios.ADMIN = auth.models.User.get_or_create(user_type = 'twitter', user_id = 'benadidatest')
+helios.SELF_REGISTRATION = False
\ No newline at end of file
diff --git a/settings.py b/settings.py
index 6e8187d..2c36738 100644
--- a/settings.py
+++ b/settings.py
@@ -109,7 +109,7 @@ SERVER_EMAIL = DEFAULT_FROM_EMAIL
 # Make this unique, and don't share it with anybody.
 SECRET_KEY = 'iacrrulez!!!ohyeah,andheliostoo'
 
-#LOGIN_URL = '/account/login/'
+LOGIN_URL = '/auth/'
 #LOGOUT_URL = '/account/logout/'
 #LOGIN_REDIRECT_URL = '/'
 
-- 
GitLab