Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
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
OpenEdx
django-wiki
Commits
82948267
Commit
82948267
authored
Jul 29, 2012
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few deployment details
parent
58cf1a33
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
+8
-1
setup.py
+1
-0
testproject/testproject/settings.py
+1
-1
testproject/testproject/wsgi.py
+6
-0
No files found.
setup.py
View file @
82948267
...
...
@@ -44,6 +44,7 @@ setup(
'markdown'
,
'django-sekizai'
,
'south'
,
'django-mptt'
,
],
classifiers
=
[
'Development Status :: 2 - Pre-Alpha'
,
...
...
testproject/testproject/settings.py
View file @
82948267
...
...
@@ -14,7 +14,7 @@ MANAGERS = ADMINS
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.sqlite3'
,
# Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME'
:
'db/prepopulated.db'
,
# Or path to database file if using sqlite3.
'NAME'
:
os_path
.
join
(
PROJECT_PATH
,
'db'
,
'prepopulated.db'
)
,
# Or path to database file if using sqlite3.
'USER'
:
''
,
# Not used with sqlite3.
'PASSWORD'
:
''
,
# Not used with sqlite3.
'HOST'
:
''
,
# Set to empty string for localhost. Not used with sqlite3.
...
...
testproject/testproject/wsgi.py
View file @
82948267
...
...
@@ -14,6 +14,12 @@ framework.
"""
import
os
import
sys
PROJECT_PATH
=
os
.
path
.
abspath
(
os
.
path
.
split
(
__file__
)[
0
])
PROJECT_PARENT
=
os
.
path
.
abspath
(
os
.
path
.
split
(
PROJECT_PATH
)[
0
])
sys
.
path
.
append
(
PROJECT_PATH
)
sys
.
path
.
append
(
PROJECT_PARENT
)
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"testproject.settings"
)
...
...
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