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

🐛 Fix check request properties #759

Merged
merged 1 commit into from
Feb 19, 2024
Merged

🐛 Fix check request properties #759

merged 1 commit into from
Feb 19, 2024

Conversation

wlorenzetti
Copy link
Member

Fix cases where Django request instance doesn't have user and META properties, i.e. when Django commands call Django views.

@wlorenzetti wlorenzetti added bug Something isn't working backport to v.3.7.x labels Feb 19, 2024
@wlorenzetti wlorenzetti added this to the v3.8 milestone Feb 19, 2024
@wlorenzetti wlorenzetti self-assigned this Feb 19, 2024
@wlorenzetti wlorenzetti marked this pull request as ready for review February 19, 2024 09:23
@wlorenzetti wlorenzetti merged commit def108e into dev Feb 19, 2024
6 checks passed
@wlorenzetti wlorenzetti deleted the check_user_request branch February 19, 2024 09:24
Copy link

The backport to v.3.7.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-v.3.7.x v.3.7.x
# Navigate to the new working tree
cd .worktrees/backport-v.3.7.x
# Create a new branch
git switch --create backport-759-to-v.3.7.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 def108e80404a2015a08068d97ef4bafd4192d5c
# Push it to GitHub
git push --set-upstream origin backport-759-to-v.3.7.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-v.3.7.x

Then, create a pull request where the base branch is v.3.7.x and the compare/head branch is backport-759-to-v.3.7.x.

wlorenzetti added a commit that referenced this pull request Feb 19, 2024
Co-authored-by: wlorenzetti <lorenzett@gis3w.it>
(cherry picked from commit def108e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport to v.3.7.x bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant