Permalink
Browse files

Move to new playdoh style

  • Loading branch information...
1 parent 3243693 commit 5aa136c187bb916b4c20aa4fff974b428f620415 @nigelbabu nigelbabu committed Oct 29, 2012
View
No changes.
View
No changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -56,9 +56,10 @@
INSTALLED_APPS = list(INSTALLED_APPS) + [
# Example code. Can (and should) be removed for actual projects.
- 'careers',
+ 'careers.careers',
'django_jobvite',
'south',
+ 'jingo_minify',
]
@@ -0,0 +1,73 @@
+# This is an example settings/local.py file.
+# These settings overrides what's in settings/base.py
+
+# To extend any settings from settings/base.py here's an example:
+#from . import base
+#INSTALLED_APPS = base.INSTALLED_APPS + ['debug_toolbar']
+
+
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.mysql',
+ 'NAME': 'lumbergh_app',
+ 'USER': 'root',
+ 'PASSWORD': 'pass123',
+ 'HOST': '',
+ 'PORT': '',
+ 'OPTIONS': {
+ 'init_command': 'SET storage_engine=InnoDB',
+ 'charset' : 'utf8',
+ 'use_unicode' : True,
+ },
+ 'TEST_CHARSET': 'utf8',
+ 'TEST_COLLATION': 'utf8_general_ci',
+ },
+ # 'slave': {
+ # ...
+ # },
+}
+
+# Uncomment this and set to all slave DBs in use on the site.
+# SLAVE_DATABASES = ['slave']
+
+# Recipients of traceback emails and other notifications.
+ADMINS = (
+ # ('Your Name', 'your_email@domain.com'),
+)
+MANAGERS = ADMINS
+
+# Debugging displays nice error messages, but leaks memory. Set this to False
+# on all server instances and True only for development.
+DEBUG = TEMPLATE_DEBUG = True
+
+# Is this a development instance? Set this to True on development/master
+# instances and False on stage/prod.
+DEV = True
+
+# # Playdoh ships with sha512 password hashing by default. Bcrypt+HMAC is safer,
+# # so it is recommended. Please read <https://github.com/fwenzel/django-sha2#readme>,
+# # then switch this to bcrypt and pick a secret HMAC key for your application.
+# PWD_ALGORITHM = 'bcrypt'
+# HMAC_KEYS = { # for bcrypt only
+# '2011-01-01': 'cheesecake',
+# }
+
+# Make this unique, and don't share it with anybody. It cannot be blank.
+SECRET_KEY = 'asdfadsjasdnfjlsnfsdlfdsaj'
+
+# Jobvite URI
+# JOBVITE_URI = 'http://www.jobvite.com/CompanyJobs/Xml.aspx?c=XXXXX'
+
+# Uncomment these to activate and customize Celery:
+# CELERY_ALWAYS_EAGER = False # required to activate celeryd
+# BROKER_HOST = 'localhost'
+# BROKER_PORT = 5672
+# BROKER_USER = 'playdoh'
+# BROKER_PASSWORD = 'playdoh'
+# BROKER_VHOST = 'playdoh'
+# CELERY_RESULT_BACKEND = 'amqp'
+
+## Log settings
+
+# SYSLOG_TAG = "http_app_playdoh" # Make this unique to your project.
+# LOGGING = dict(loggers=dict(playdoh = {'level': logging.DEBUG}))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -4,6 +4,8 @@
from django.shortcuts import render
+from funfactory.monkeypatches import patch
+patch()
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
View
@@ -2,6 +2,10 @@
import os
import sys
+
+# Edit this if necessary or override the variable in your environment.
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'careers.settings')
+
try:
# For local development in a virtualenv:
from funfactory import manage
@@ -18,7 +22,7 @@
sys.path.remove(tmp_path)
-manage.setup_environ(__file__)
+manage.setup_environ(__file__, more_pythonic=True)
if __name__ == "__main__":
manage.main()

0 comments on commit 5aa136c

Please sign in to comment.