Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpievolbio-scicomp
RepinPop
Commits
3298c1d3
Commit
3298c1d3
authored
Nov 19, 2021
by
c.fortmanngrote
Browse files
Still debugging.
parent
dbb2513a
Pipeline
#251013
failed with stages
in 4 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/__init__.py
View file @
3298c1d3
...
...
@@ -19,6 +19,9 @@ app.testing = app.debug = False
app
.
config
.
from_object
(
Config
)
app
.
config
[
'UPLOAD_DIR'
]
=
upload_dir
csrf
=
CSRFProtect
()
csrf
.
init
(
app
)
db
=
MongoEngine
()
app
.
session_interface
=
MongoEngineSessionInterface
(
db
)
db
.
init_app
(
app
)
...
...
@@ -28,7 +31,6 @@ mail = Mail(app)
app
.
redis
=
Redis
.
from_url
(
app
.
config
[
'REDIS_URL'
])
app
.
queue
=
rq
.
Queue
(
'rarefan'
,
connection
=
app
.
redis
)
csrf
=
CSRFProtect
(
app
)
# Has to be the last import to avoid cyclic dependencies.
from
app
import
views
,
routes
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