Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
f3e7e6d4
Commit
f3e7e6d4
authored
Jan 11, 2017
by
Diederik van der Boor
Browse files
Fixed DjangoServer serve invocation
parent
d1cadea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
private_storage/servers.py
View file @
f3e7e6d4
...
@@ -17,7 +17,7 @@ def get_server_class(path):
...
@@ -17,7 +17,7 @@ def get_server_class(path):
if
'.'
in
path
:
if
'.'
in
path
:
return
import_symbol
(
path
)
return
import_symbol
(
path
)
elif
path
==
'django'
:
elif
path
==
'django'
:
return
DjangoServer
()
return
DjangoServer
elif
path
==
'apache'
:
elif
path
==
'apache'
:
return
ApacheXSendfileServer
return
ApacheXSendfileServer
elif
path
==
'nginx'
:
elif
path
==
'nginx'
:
...
...
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