aboutsummaryrefslogtreecommitdiff
path: root/codemash
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2012-12-04 15:50:42 -0500
committerMike Crute <mcrute@gmail.com>2012-12-11 15:27:46 -0500
commitfc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2 (patch)
treeb521cb9d395bed84d88bce003327af3020010810 /codemash
parent39850fe5e8a23b402610167e33540ee615aed3ab (diff)
downloaddjango-precompiler-fc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2.tar.bz2
django-precompiler-fc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2.tar.xz
django-precompiler-fc5ad68e62bd2b82450cdbdd3c83f8c1e94feed2.zip
Add contact form
Diffstat (limited to 'codemash')
-rw-r--r--codemash/settings.py8
-rw-r--r--codemash/urls.py3
2 files changed, 9 insertions, 2 deletions
diff --git a/codemash/settings.py b/codemash/settings.py
index 3bf0f6a..23b1b93 100644
--- a/codemash/settings.py
+++ b/codemash/settings.py
@@ -114,6 +114,12 @@ TEMPLATE_DIRS = (
114 os.path.join(PROJECT_ROOT, "templates"), 114 os.path.join(PROJECT_ROOT, "templates"),
115) 115)
116 116
117# The email backend to use. For possible shortcuts see django.core.mail.
118# The default is to use the SMTP backend.
119# Third-party backends can be specified by providing a Python path
120# to a module that defines an EmailBackend class.
121EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
122
117INSTALLED_APPS = ( 123INSTALLED_APPS = (
118 'django.contrib.auth', 124 'django.contrib.auth',
119 'django.contrib.contenttypes', 125 'django.contrib.contenttypes',
@@ -125,6 +131,8 @@ INSTALLED_APPS = (
125 # 'django.contrib.admin', 131 # 'django.contrib.admin',
126 # Uncomment the next line to enable admin documentation: 132 # Uncomment the next line to enable admin documentation:
127 # 'django.contrib.admindocs', 133 # 'django.contrib.admindocs',
134
135 'contact',
128) 136)
129 137
130# A sample logging configuration. The only tangible logging 138# A sample logging configuration. The only tangible logging
diff --git a/codemash/urls.py b/codemash/urls.py
index 2fae4f3..0431c65 100644
--- a/codemash/urls.py
+++ b/codemash/urls.py
@@ -5,9 +5,8 @@ from django.conf.urls import patterns, include, url
5# admin.autodiscover() 5# admin.autodiscover()
6 6
7urlpatterns = patterns('', 7urlpatterns = patterns('',
8 # Examples: 8 (r'^contact/', include('contact.urls', namespace='contact')),
9 url(r'^$', 'pages.views.home', name='home'), 9 url(r'^$', 'pages.views.home', name='home'),
10 # url(r'^codemash/', include('codemash.foo.urls')),
11 10
12 # Uncomment the admin/doc line below to enable admin documentation: 11 # Uncomment the admin/doc line below to enable admin documentation:
13 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), 12 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),