Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
9619bf20
Commit
9619bf20
authored
Jan 18, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved logging level to INFO, replaced tabs with spaces in settings.py
parent
4e75a04f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
settings.py
+3
-3
No files found.
settings.py
View file @
9619bf20
...
@@ -125,7 +125,7 @@ LOGGING = {
...
@@ -125,7 +125,7 @@ LOGGING = {
'loggers'
:
{
'loggers'
:
{
'django.request'
:
{
'django.request'
:
{
'handlers'
:
[
'mail_admins'
],
'handlers'
:
[
'mail_admins'
],
'level'
:
'
ERROR
'
,
'level'
:
'
INFO
'
,
'propagate'
:
True
,
'propagate'
:
True
,
},
},
}
}
...
@@ -198,7 +198,7 @@ if ASKBOT_ENABLED:
...
@@ -198,7 +198,7 @@ if ASKBOT_ENABLED:
)
)
ASKBOT_ALLOWED_UPLOAD_FILE_TYPES
=
(
'.jpg'
,
'.jpeg'
,
'.gif'
,
'.bmp'
,
'.png'
,
'.tiff'
)
ASKBOT_ALLOWED_UPLOAD_FILE_TYPES
=
(
'.jpg'
,
'.jpeg'
,
'.gif'
,
'.bmp'
,
'.png'
,
'.tiff'
)
ASKBOT_MAX_UPLOAD_FILE_SIZE
=
1024
*
1024
#result in bytes
ASKBOT_MAX_UPLOAD_FILE_SIZE
=
1024
*
1024
#result in bytes
ASKBOT_FILE_UPLOAD_DIR
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'askbot'
,
'upfiles'
)
MEDIA_ROOT
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'askbot'
,
'upfiles'
)
DEFAULT_FILE_STORAGE
=
'django.core.files.storage.FileSystemStorage'
DEFAULT_FILE_STORAGE
=
'django.core.files.storage.FileSystemStorage'
PROJECT_ROOT
=
os
.
path
.
dirname
(
__file__
)
PROJECT_ROOT
=
os
.
path
.
dirname
(
__file__
)
...
@@ -231,7 +231,7 @@ if ASKBOT_ENABLED:
...
@@ -231,7 +231,7 @@ if ASKBOT_ENABLED:
LOGIN_REDIRECT_URL
=
'/'
LOGIN_REDIRECT_URL
=
'/'
LOGIN_URL
=
'/'
LOGIN_URL
=
'/'
ASKBOT_UPLOADED_FILES_URL
=
'
%
s
%
s'
%
(
ASKBOT_URL
,
'upfiles/'
)
MEDIA_URL
=
'/
%
s
%
s'
%
(
ASKBOT_URL
,
'upfiles/'
)
ALLOW_UNICODE_SLUGS
=
False
ALLOW_UNICODE_SLUGS
=
False
ASKBOT_USE_STACKEXCHANGE_URLS
=
False
#mimic url scheme of stackexchange
ASKBOT_USE_STACKEXCHANGE_URLS
=
False
#mimic url scheme of stackexchange
ASKBOT_CSS_DEVEL
=
True
ASKBOT_CSS_DEVEL
=
True
...
...
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