You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by ni...@apache.org on 2009/12/26 18:44:07 UTC
svn commit: r894009 - /comdev/nearby_people/local_settings.py.example
Author: nick
Date: Sat Dec 26 17:44:05 2009
New Revision: 894009
URL: http://svn.apache.org/viewvc?rev=894009&view=rev
Log:
Re-order things in the example config file to make it more helpful to new users
Modified:
comdev/nearby_people/local_settings.py.example
Modified: comdev/nearby_people/local_settings.py.example
URL: http://svn.apache.org/viewvc/comdev/nearby_people/local_settings.py.example?rev=894009&r1=894008&r2=894009&view=diff
==============================================================================
--- comdev/nearby_people/local_settings.py.example (original)
+++ comdev/nearby_people/local_settings.py.example Sat Dec 26 17:44:05 2009
@@ -1,25 +1,30 @@
# Django settings for nearby_people project.
+
+# We want relative paths to things
+import os, sys
+BASE_PATH = os.path.realpath(os.path.dirname(__file__))
+
+# FOAF/DOAP settings
+COMDEV_DOAP = os.path.join(BASE_PATH, "data/project/CommunityDevelopment.rdf")
+SPEAKERS_DOAP = os.path.join(BASE_PATH, "data/project/LocalSpeakers.rdf")
+PEOPLE_FOAF_PATH = os.path.join(BASE_PATH, "data/people/")
+PEOPLE_FOAF_NAMESPACE = "http://people.apache.org/"
+
+# Are we in testing or production?
DEBUG = True
TEMPLATE_DEBUG = DEBUG
+# Who should we bug about errors?
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
# Database settings
+# (This can be left blank for now - we're not database backed)
+#
DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = '' # 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.
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
-
-
-import os, sys
-BASE_PATH = os.path.realpath(os.path.dirname(__file__))
-
-# FOAF/DOAP settings
-COMDEV_DOAP = os.path.join(BASE_PATH, "data/project/CommunityDevelopment.rdf")
-SPEAKERS_DOAP = os.path.join(BASE_PATH, "data/project/LocalSpeakers.rdf")
-PEOPLE_FOAF_PATH = os.path.join(BASE_PATH, "data/people/")
-PEOPLE_FOAF_NAMESPACE = "http://people.apache.org/"