i want to know how to use nextjs as frontend with Django as Backend can anyone show me a way how to approach ??
Pretty much the same way you would integrate any JavaScript front end with any back end. The front end issues HTTP requests, and the backend provides a response. That response can be pretty much anything - html, json, xml, text.
Django natively supports a JsonResponse as well as the normal HttpResponse. Additionally, the Django Rest Framework is an excellent 3rd party module available for constructing full API sets.