Commits

Hyungyong Kim committed 65a1241

working in home

  • Participants
  • Parent commits 2cf9d43

Comments (0)

Files changed (3)

+## paprika setting
+TIME_ZONE = 'Asia/Seoul'
+LANGUAGE_CODE = 'ko'
+DATABASES = {
+    'default': {
+        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+        'NAME': 'paprika.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.
+    }
+}
+INSTALLED_APPS += (
+    'django.contrib.admin',
+    'django.contrib.admindocs',
+    'paprika',
+)
     content = models.TextField()
     ctime = models.DateTimeField(auto_now=True)
     mtime = models.DateTimeField(auto_now_add=True)
+
+    def __unicode__(self):
+	return self.title
+