Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Ask
website
Commits
8a483e06
Commit
8a483e06
authored
Jun 23, 2012
by
Giuseppe Terrasi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parent
7711154a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
settings_local.py
settings_local.py
+58
-0
No files found.
settings_local.py
0 → 100644
View file @
8a483e06
# encoding:utf-8
import
os.path
SITE_SRC_ROOT
=
os
.
path
.
dirname
(
__file__
)
LOG_FILENAME
=
'django.osqa.log'
#for logging
import
logging
logging
.
basicConfig
(
filename
=
os
.
path
.
join
(
SITE_SRC_ROOT
,
'log'
,
LOG_FILENAME
),
level
=
logging
.
ERROR
,
format
=
'%(pathname)s TIME: %(asctime)s MSG: %(filename)s:%(funcName)s:%(lineno)d %(message)s'
,
)
#ADMINS and MANAGERS
ADMINS
=
()
MANAGERS
=
ADMINS
DEBUG
=
False
DEBUG_TOOLBAR_CONFIG
=
{
'INTERCEPT_REDIRECTS'
:
True
}
TEMPLATE_DEBUG
=
DEBUG
INTERNAL_IPS
=
(
'127.0.0.1'
,)
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
'NAME'
:
'osqa'
,
'USER'
:
'root'
,
'PASSWORD'
:
''
,
'HOST'
:
''
,
'PORT'
:
''
,
}
}
CACHE_BACKEND
=
'file://%s'
%
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'cache'
).
replace
(
'
\
\
'
,
'/'
)
#CACHE_BACKEND = 'dummy://'
SESSION_ENGINE
=
'django.contrib.sessions.backends.db'
# This should be equal to your domain name, plus the web application context.
# This shouldn't be followed by a trailing slash.
# I.e., http://www.yoursite.com or http://www.hostedsite.com/yourhostapp
APP_URL
=
'http://'
#LOCALIZATIONS
TIME_ZONE
=
'America/New_York'
#OTHER SETTINGS
USE_I18N
=
True
LANGUAGE_CODE
=
'en'
DJANGO_VERSION
=
1.1
OSQA_DEFAULT_SKIN
=
'default'
DISABLED_MODULES
=
[
'books'
,
'recaptcha'
,
'project_badges'
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment