Skip to content
Browse files

updated for changes in app skeleton

  • Loading branch information...
1 parent d468789 commit 569fed0cc0841a0ee2cf067356d5999641f51f4e @trey0 trey0 committed Mar 10, 2011
View
14 .gitignore
@@ -1,12 +1,10 @@
*.pyc
-dev.db
-local_settings.py
-media/ugc
-docs/_build/
-src/
-pip-log.txt
-media/js/*.r*.js
-media/css/*.r*.css
*DS_Store
*.egg-info
*~
+/example/dev.db
+/docs/_build/
+/pip-log.txt
+/static/js/*.r*.js
+/static/css/*.r*.css
+/build
View
6 example/settings.py
@@ -31,7 +31,7 @@
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
-TIME_ZONE = 'America/Chicago'
+TIME_ZONE = 'America/Los_Angeles'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
@@ -45,7 +45,7 @@
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = os.path.join(APP, 'geocamLens', 'media')
+MEDIA_ROOT = os.path.join(APP, 'geocamLens', 'static')
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
@@ -70,7 +70,7 @@
ADMIN_MEDIA_PREFIX = '/static/admin/'
# Make this unique, and don't share it with anybody.
-SECRET_KEY = '6m@sl10z5o3snr+5ee+8*k7cuq1kz9(vl-r%%c@z(57^slr+7d'
+SECRET_KEY = '401orbwfoc8!yik&c47xw%lt*&)14e=+ibww2v^(7zcy#**c48'
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
View
0 geocamLens/media/geocamLens/placeholder.txt → geocamLens/management/__init__.py
File renamed without changes.
View
0 geocamLens/management/appCommands/__init__.py
No changes.
View
30 geocamLens/management/appCommands/prep.py
@@ -0,0 +1,30 @@
+# __BEGIN_LICENSE__
+# Copyright (C) 2008-2010 United States Government as represented by
+# the Administrator of the National Aeronautics and Space Administration.
+# All Rights Reserved.
+# __END_LICENSE__
+
+"""
+This is a place to put any prep code you need to run before your app
+is ready.
+
+For example, you might need to render some icons. The convention for
+that is to put the source data in your app's media_src directory and
+render the icons into your app's build/media directory (outside version
+control).
+
+How this script gets run: when the site admin runs "./manage.py prep",
+one of the steps is "prepapps", which calls
+management/appCommands/prep.py command for each app (if it exists).
+"""
+
+from django.core.management.base import NoArgsCommand
+
+from geocamUtil.management import commandUtil
+
+class Command(NoArgsCommand):
+ help = 'Prep geocamLens'
+
+ def handle_noargs(self, **options):
+ # put your code here
+ pass
View
0 geocamLens/static/geocamLens/placeholder.txt
No changes.

0 comments on commit 569fed0

Please sign in to comment.
Something went wrong with that request. Please try again.