Skip to content

chore: adaptations for Yunohost installation#3122

Merged
yohanboniface merged 8 commits into
masterfrom
ynh-adptations
Dec 22, 2025
Merged

chore: adaptations for Yunohost installation#3122
yohanboniface merged 8 commits into
masterfrom
ynh-adptations

Conversation

@yohanboniface

@yohanboniface yohanboniface commented Dec 16, 2025

Copy link
Copy Markdown
Member
  • allow to deploy with a different version of Django
  • honor FORCE_SCRIPT_NAME in urls_for_js
  • use list instead of tuple for INSTALLED_APPS and MIDDLEWARE settings
  • use "home" url instead of hardcoded "/" for back-to-home links
  • honour FORCE_SCRIPT_NAME in asgi workflow
  • make sure autocomplete user URL honour FORCE_SCRIPT_NAME
image

@yohanboniface yohanboniface force-pushed the ynh-adptations branch 2 times, most recently from fbff9a8 to d4e3714 Compare December 18, 2025 15:03
yohanboniface and others added 8 commits December 19, 2025 18:09
So it's easier to extend them in local settings

Co-authored-by: David Larlet <david@larlet.fr>
This setting has to be defined when umap is not served on the root,
but behind a subpath (eg. /umap), like in Yunohost.

Co-authored-by: David Larlet <david@larlet.fr>
Co-authored-by: David Larlet <david@larlet.fr>
Otherwise it will not work when umap is served on a subpath (like
in Yunohost).

Co-authored-by: David Larlet <david@larlet.fr>
Co-authored-by: David Larlet <david@larlet.fr>
Do not hardcode, otherwise it will not honour the FORCE_SCRIPT_NAME
setting if set.

Co-authored-by: David Larlet <david@larlet.fr>
…rom env

Co-authored-by: David Larlet <david@larlet.fr>
Co-authored-by: David Larlet <david@larlet.fr>
@yohanboniface yohanboniface merged commit d9fc9b9 into master Dec 22, 2025
3 checks passed
@yohanboniface yohanboniface deleted the ynh-adptations branch December 22, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant