diff --git a/helios b/helios index 35969f2b964c8aa9134c51da492ca0866b946f14..6a80b42ad21f3b75fca8fd387cdb5c57b0d8f050 160000 --- a/helios +++ b/helios @@ -1 +1 @@ -Subproject commit 35969f2b964c8aa9134c51da492ca0866b946f14 +Subproject commit 6a80b42ad21f3b75fca8fd387cdb5c57b0d8f050 diff --git a/iacr/__init__.py b/iacr/__init__.py index a1b12535ce79472c736e5e20b8cf34c77b7273c5..661ff97af2d9c95057c419b4b61b1d359371376b 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 6e8187dcba506a49c50aa55d0f9608a50fb9d7f3..2c367384e5330dfb5d18ca92b6ddc64e1b599e85 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 = '/'