Permalink
Browse files

added an sqlite3 db

removed the redundant info from the gridpak models
  • Loading branch information...
1 parent ed28997 commit 340e60d6170d99b776cb626c8bbc7d184114e586 Wil Linssen committed Sep 29, 2011
Showing with 10 additions and 17 deletions.
  1. BIN gridpak.db
  2. +0 −7 gridulate/models.py
  3. +10 −10 settings.py
View
Binary file not shown.
View
@@ -1,8 +1 @@
from django.db import models
-
-# Create your models here.
-class Grid(models.Model):
- min_width = models.IntegerField()
- col_num = models.IntegerField()
- col_width = models.IntegerField()
- col_width_type = models.CharField(max_length=2)
View
@@ -9,16 +9,16 @@
MANAGERS = ADMINS
-# DATABASES = {
-# 'default': {
-# 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-# 'NAME': '', # Or path to database file if using sqlite3.
-# 'USER': '', # Not used with sqlite3.
-# 'PASSWORD': '', # Not used with sqlite3.
-# 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
-# 'PORT': '', # Set to empty string for default. Not used with sqlite3.
-# }
-# }
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': 'gridpak.db', # Or path to database file if using sqlite3.
+ 'USER': '', # Not used with sqlite3.
+ 'PASSWORD': '', # Not used with sqlite3.
+ 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
+ 'PORT': '', # Set to empty string for default. Not used with sqlite3.
+ }
+}
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name

0 comments on commit 340e60d

Please sign in to comment.