Mercurial > personas_backend
changeset 1:8ba2dab6c0e8
Added basic settings for development use, added design notes.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Wed, 13 Feb 2008 14:53:38 -0600 |
parents | ebfb2077ccc1 |
children | 5d8ad63be9cf |
files | PersonasBackend/settings.py design-notes.txt |
diffstat | 2 files changed, 34 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/PersonasBackend/settings.py Wed Feb 13 14:26:51 2008 -0600 +++ b/PersonasBackend/settings.py Wed Feb 13 14:53:38 2008 -0600 @@ -1,5 +1,7 @@ # Django settings for PersonasBackend project. +import os + DEBUG = True TEMPLATE_DEBUG = DEBUG @@ -9,8 +11,8 @@ MANAGERS = ADMINS -DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. -DATABASE_NAME = '' # Or path to database file if using sqlite3. +DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. +DATABASE_NAME = os.path.abspath( "temp_db" ) # Or path to database file if using sqlite3. DATABASE_USER = '' # Not used with sqlite3. DATABASE_PASSWORD = '' # Not used with sqlite3. DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/design-notes.txt Wed Feb 13 14:53:38 2008 -0600 @@ -0,0 +1,30 @@ +Design notes from mid-January meeting: + +* personas backend: + * create a user + - email address + - password + - OR mozilla id? ldap? + * login + - add a service + * data model elements: + * id + * category (choose from list) + * title + * description + * either: + (1) header img, footer img + (internally store pointers to some other data store; don't + store the images themselves in our database.) + (2) URL, update interval (in seconds) + * dark/light persona + * created date (automatic) + * updated date (automatic) + * version (automatic) + * status (reviewed, active, deleted, etc) + - edit a service + * increments version number + - delete a service + * other exposed endpoints + * json feed + * rss feed