Finally enable SQL for everybody!
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 1 Apr 2012 19:46:36 +0000 (21:46 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sun, 1 Apr 2012 19:46:36 +0000 (21:46 +0200)
This switches the whole source code over to use sql instead
of mongodb. It's a pretty easy change, but changes nearly
the complete way things work. Hopefully everythong works!

.gitignore
mediagoblin/db/sql_switch.py [new file with mode: 0644]

index a15a56975925e67de05336d3571933d235f4d22f..6875d78af8dc8fd05756a991c47a244e264aeba5 100644 (file)
@@ -20,7 +20,6 @@
 /celery.db
 /kombu.db
 /server-log.txt
-/mediagoblin/db/sql_switch.py
 
 # Tests
 /mediagoblin/tests/user_dev/
diff --git a/mediagoblin/db/sql_switch.py b/mediagoblin/db/sql_switch.py
new file mode 100644 (file)
index 0000000..571adbd
--- /dev/null
@@ -0,0 +1 @@
+use_sql = True