[extensions-web] Use sqlite for development by default
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Use sqlite for development by default
- Date: Mon, 20 May 2013 20:34:15 +0000 (UTC)
commit 7df86ee858f7b51873d283dce37ea530ad7f27d0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon May 20 15:50:25 2013 -0400
Use sqlite for development by default
.gitignore | 1 +
README.rst | 6 ------
sweettooth/settings.py | 8 ++------
3 files changed, 3 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 50ccaa4..53f2c78 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,6 +40,7 @@ venv
# Data dumps
*.sql
*.tar.xz
+*.db
# sweettooth-specific
Demos
diff --git a/README.rst b/README.rst
index 41554d9..5f66919 100644
--- a/README.rst
+++ b/README.rst
@@ -91,16 +91,10 @@ Requirements
* django-registration_
* xapian_
-I develop with PostgreSQL_ at home, but Django should be able to use SQLite_,
-MySQL_, and others. South_ is used for migrations.
-
.. _django: http://www.djangoproject.com/
.. _django-autoslug: http://packages.python.org/django-autoslug/
.. _Pygments: http://www.pygments.org/
.. _sorl-thumbnail: http://thumbnail.sorl.net/
-.. _PostgreSQL: http://www.postgresql.org/
-.. _SQLite: http://www.sqlite.org/
-.. _MySQL: http://www.mysql.com/
.. _south: http://south.aeracode.org/
.. _django-registration: http://pypi.python.org/pypi/django-registration
.. _xapian: http://www.xapian.org/
diff --git a/sweettooth/settings.py b/sweettooth/settings.py
index b05d3e6..b7d9975 100644
--- a/sweettooth/settings.py
+++ b/sweettooth/settings.py
@@ -15,12 +15,8 @@ SITE_ROOT = os.path.dirname(os.path.abspath(__file__))
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'NAME': 'django',
- 'USER': 'test-deploy',
- 'PASSWORD': 'test-deploy',
- 'HOST': 'localhost',
- 'PORT': '5432',
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': 'test.db',
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]