{"repo":"QueraTeam/django-nextjs","free":true,"listed":false,"github":"https://github.com/QueraTeam/django-nextjs","clone":"git clone https://github.com/QueraTeam/django-nextjs.git","description":"Integrate Next.js into your Django project","language":"Python","stars":401,"topics":["integration","nextjs","django"],"license":"MIT","category":"networking-infra","readme_excerpt":"Django-Next.js django-nextjs allows Django and Next.js pages to work together seamlessly. When a user opens a Next.js page, Django receives the initial request, queries the Next.js server for the HTML response, and returns it to the user. After opening a Next.js page, the user can navigate to other Next.js pages without any additional requests to Django, since Next.js internal paths ( / next/... ) are handled directly by Next.js. To simplify the setup and eliminate the need for a reverse proxy like Nginx during development, django-nextjs also acts as the reverse proxy for Next.js internal paths when Django's DEBUG setting is True . Table of contents - Compatibility - Why django-nextjs? - Getting started - Setup Next.js URLs in production - Usage - The stream parameter - Customizing the HTML response - Notes - Settings - nextjs server url - ensure csrf token - public subdirectory - Contributing - License Compatibility - Python : 3.10, 3.11, 3.12, 3.13, 3.14 - Django : 4.2, 5.0, 5.1, 5.2, 6.0 Why django-nextjs? django-nextjs is designed for projects that need both Django pages (usually rendered by Django templates) and Next.js pages. Some scenarios: - You want to add some Next.js pages to an existing Django project. - You want to migrate your frontend to Next.js, but since the project is large, you want to do it gradually. If this sounds like you, this package is the perfect fit . This package improves the development experience by allowing everything to be accessible from a si","default_branch":null,"files":null,"tree":[],"storefront":"/r/QueraTeam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/QueraTeam/django-nextjs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}