Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
d82bfa19
Commit
d82bfa19
authored
Jan 21, 2019
by
Jelle van der Waa
🚧
Browse files
Fix hardcoded python version in archweb.wsgi
parent
45e7fddd
Changes
1
Hide whitespace changes
Inline
Side-by-side
archweb.wsgi
View file @
d82bfa19
...
...
@@ -4,8 +4,9 @@ import sys
import
site
base_path
=
"/srv/http/archweb"
py_version
=
sys
.
version_info
site
.
addsitedir
(
'/srv/http/archweb-env/lib/python
3.6
/site-packages'
)
site
.
addsitedir
(
'/srv/http/archweb-env/lib/python
{}.{}
/site-packages'
.
format
(
py_version
.
major
,
py_version
.
minor
)
)
sys
.
path
.
insert
(
0
,
base_path
)
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
"settings"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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