I wrote the frontend using angualrjs, and then wrote the backend using django. How can I combine the two?
There are main pages and templates in angularjs, and they are also available in django.
Enter a URL. What does Django return when getting the URL? Are all templates and pages, js, and css returned?
Angular only requests the page from the background during the first request. Subsequent requests request background data to update the page by calling the background API.
Use Django to build RESTful API
You can refer to this my blog: phodaldev
As follows