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

Pass allow_redirects parameter to render function #8

Merged
merged 1 commit into from Jul 29, 2022

Conversation

SeokEunJu
Copy link
Contributor

Hello, I am a Korean django developer.

I work for a company called Buildblock and I want to change the frontend technology stack from django template to nextjs.
However, django couldn't recognize the static file built in nextjs and ended up using django-nextjs.

However, redirects are required for translation on our website, but django-nextjs redirects were rejected because allow_redirects was False. So this error occurred.

Therefore, it is suggested to add allow_redirects as a parameter to the render_nextjs_page_sync function. We confirmed that this change would give us the desired behavior.

I look forward to a good answer.
thank you

@danialkeimasi
Copy link
Member

Hi, thank you for your contribution.

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.

None yet

2 participants