Merge remote branch 'remotes/gullydwarf-cfdv/437_slug_shouldnt_be_empty'
[mediagoblin.git] / mediagoblin / config_spec.ini
index 52e3fdfd1432ce5b248e471b634326e354626aeb..b6356b0ecb8bec311901e1eea6cf9e52d52eb2e2 100644 (file)
@@ -1,4 +1,9 @@
 [mediagoblin]
+# database stuff
+db_host = string()
+db_name = string()
+db_port = integer()
+
 # 
 queuestore_base_dir = string(default="%(here)s/user_dev/media/queue")
 publicstore_base_dir = string(default="%(here)s/user_dev/media/public")
@@ -16,6 +21,9 @@ direct_remote_path = string(default="/mgoblin_static/")
 email_debug_mode = boolean(default=True)
 email_sender_address = string(default="notice@mediagoblin.example.org")
 
+# Set to false to disable registrations
+allow_registration = boolean(default=True)
+
 # By default not set, but you might want something like:
 # "%(here)s/user_dev/templates/"
 local_templates = string()
@@ -68,4 +76,4 @@ celeryd_eta_scheduler_precision = float()
 
 # known lists
 celery_routes = string_list()
-celery_imports = string_list()
\ No newline at end of file
+celery_imports = string_list()