remove path from primary key
[pithos] / pithos / settings.py.dist
index f6b6f73..ad8eb2f 100644 (file)
@@ -60,11 +60,6 @@ DATABASES = {
 
 # The backend to use and its initilization options.
 
-# Simple.
-#backend_path = os.path.join(PROJECT_PATH, 'data/pithos/')
-#backend_db = os.path.join(PROJECT_PATH, 'data/pithos/db')
-#BACKEND = ('SimpleBackend', (backend_path, backend_db))
-
 # Modular.
 backend_module = 'pithos.backends.lib.sqlite'
 backend_path = os.path.join(PROJECT_PATH, 'data/pithos/')
@@ -74,6 +69,11 @@ backend_db = os.path.join(PROJECT_PATH, 'data/pithos/db')
 #backend_db = 'postgresql://user:pass@host/db'
 BACKEND = ('ModularBackend', (backend_module, backend_path, backend_db))
 
+# Shibboleth-enabled path for authentication.
+LOGIN_URL = "/login"
+
+BYPASS_ADMIN_AUTH = False
+
 # Local time zone for this installation. Choices can be found here:
 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
 # although not all choices may be available on all operating systems.
@@ -160,3 +160,5 @@ AUTH_TOKEN_DURATION = 30 * 24
 # Default quota for new users.
 DEFAULT_QUOTA = 10 * 1024 * 1024 * 1024
 
+# Show these many users per page in admin interface.
+ADMIN_PAGE_LIMIT = 100