Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
90f6a167
Commit
90f6a167
authored
Dec 02, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed from imports
parent
4e500606
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
uitwww/__init__.py
uitwww/__init__.py
+5
-4
No files found.
uitwww/__init__.py
View file @
90f6a167
...
@@ -25,14 +25,15 @@ from . import actions
...
@@ -25,14 +25,15 @@ from . import actions
from
.
import
auth
from
.
import
auth
from
.
import
cache
from
.
import
cache
from
.
import
db
from
.
import
db
from
.
import
download
from
.
import
navbar
from
.
import
navbar
from
.
import
pages
from
.
import
pages
from
.
import
redirects
from
.
import
redirects
from
.
import
utils
from
.
import
utils
from
.src.news
import
news
from
.constants
import
BASE_DIR
from
.constants
import
BASE_DIR
from
.src.download.views
import
Downloads
from
.src.news.views
import
News
def
create_app
(
data_path
,
debug
=
False
):
def
create_app
(
data_path
,
debug
=
False
):
"""Create a new instance of the application"""
"""Create a new instance of the application"""
...
@@ -61,8 +62,8 @@ def create_app(data_path, debug=False):
...
@@ -61,8 +62,8 @@ def create_app(data_path, debug=False):
utils
.
prepare_app
(
app
)
utils
.
prepare_app
(
app
)
app
.
news
=
news
.
News
()
app
.
news
=
News
()
app
.
download
=
download
.
Downloads
(
data_path
)
app
.
download
=
Downloads
(
data_path
)
app
.
register_blueprint
(
redirects
.
prepare_blueprint
(
app
))
app
.
register_blueprint
(
redirects
.
prepare_blueprint
(
app
))
app
.
register_blueprint
(
app
.
news
.
prepare_blueprint
(
app
),
url_prefix
=
"/news"
)
app
.
register_blueprint
(
app
.
news
.
prepare_blueprint
(
app
),
url_prefix
=
"/news"
)
...
...
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