forked from divio/django-simple-sso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanage.py
36 lines (31 loc) · 830 Bytes
/
manage.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/python
from django.conf.urls.defaults import patterns
from django.core.management import execute_manager
urlpatterns = patterns('',
)
INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.admin',
'simple_sso.sso_server',
'simple_sso',
'south',
]
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
ROOT_URLCONF = 'manage'
if __name__ == "__main__":
from django.conf import settings
settings.configure(
INSTALLED_APPS = INSTALLED_APPS,
ROOT_URLCONF = ROOT_URLCONF,
DATABASES = DATABASES,
TEST_RUNNER = 'django.test.simple.DjangoTestSuiteRunner',
SIMPLE_SSO_SERVER = '/server/',
)
execute_manager(settings)