Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use context processor for metadata in environment endpoint #4569

Merged

Conversation

JacquelineMorrissette
Copy link
Contributor

Checklist

  1. If you've added code that should be tested, add tests
  2. If you've changed APIs, update (or create!) the documentation
  3. Ensure the tests pass
  4. Make sure that your code lints and that you've followed our coding style
  5. Write a description of your work suitable for publishing on our forum
  6. Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE)
  7. Open an issue in the docs if there are UI/UX changes

Description

Change how the translations for custom metadata fields are handled so the language of choice displays as the only option in the /environment endpoint

…text-processor

 # Conflicts:
 #	kobo/apps/accounts/forms.py
 #	kobo/static_lists.py
 #	kpi/views/environment.py
hub/utils/i18n.py Show resolved Hide resolved
hub/utils/i18n.py Outdated Show resolved Hide resolved
hub/utils/i18n.py Show resolved Hide resolved
hub/utils/i18n.py Outdated Show resolved Hide resolved
kpi/context_processors.py Outdated Show resolved Hide resolved
kobo/apps/accounts/forms.py Show resolved Hide resolved
kobo/apps/accounts/forms.py Show resolved Hide resolved
kpi/deployment_backends/kc_access/shadow_models.py Outdated Show resolved Hide resolved
kobo/settings/base.py Outdated Show resolved Hide resolved
kobo/settings/base.py Show resolved Hide resolved
@noliveleger noliveleger merged commit 34ce486 into feature/user-project-metadata Aug 15, 2023
3 of 4 checks passed
@noliveleger noliveleger deleted the create-metadata-context-processor branch August 15, 2023 21:07
@jnm jnm changed the title Use context process for metadata in environment endpoint Use context processor for metadata in environment endpoint Sep 18, 2023
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.

Revise Django registration template to respect configured User Metadata fields set in Django Admin Interface
3 participants