Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6449329b
authored
Aug 06, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix get_home function to return full route URL without slicing
1 parent
59f93c76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
opensipkd/base/__init__.py
opensipkd/base/__init__.py
View file @
6449329
...
@@ -175,7 +175,8 @@ def get_menus(request):
...
@@ -175,7 +175,8 @@ def get_menus(request):
def
get_home
(
request
):
def
get_home
(
request
):
return
request
.
route_url
(
'base-home'
)[:
-
1
]
return
request
.
route_url
(
'base-home'
)
#[:-1]
def
get_host
(
request
):
def
get_host
(
request
):
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment