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
ac05bbe7
Commit
ac05bbe7
authored
Nov 29, 2023
by
shadMod
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added News() in app and register news paths
parent
0f156ff0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
uitwww/__init__.py
uitwww/__init__.py
+3
-0
No files found.
uitwww/__init__.py
View file @
ac05bbe7
...
@@ -28,6 +28,7 @@ from . import navbar
...
@@ -28,6 +28,7 @@ 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
def
create_app
(
data_path
,
debug
=
False
):
def
create_app
(
data_path
,
debug
=
False
):
...
@@ -57,9 +58,11 @@ def create_app(data_path, debug=False):
...
@@ -57,9 +58,11 @@ def create_app(data_path, debug=False):
utils
.
prepare_app
(
app
)
utils
.
prepare_app
(
app
)
app
.
news
=
news
.
News
()
app
.
download
=
download
.
Downloads
(
data_path
)
app
.
download
=
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
.
download
.
prepare_blueprint
(
app
),
url_prefix
=
"/download"
)
app
.
register_blueprint
(
app
.
download
.
prepare_blueprint
(
app
),
url_prefix
=
"/download"
)
app
.
register_blueprint
(
actions
.
prepare_blueprint
(
app
),
url_prefix
=
"/+actions"
)
app
.
register_blueprint
(
actions
.
prepare_blueprint
(
app
),
url_prefix
=
"/+actions"
)
app
.
register_blueprint
(
auth
.
prepare_blueprint
(
app
),
url_prefix
=
"/+auth"
)
app
.
register_blueprint
(
auth
.
prepare_blueprint
(
app
),
url_prefix
=
"/+auth"
)
...
...
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