assuming my site is uses DRF, there are two possibilities to serve the main
page (index.html) of my website
- serve this file with nginx
- cause I use DRF there is noting related to django in index.html
everything is handled with js
- login is handled with js
- serve this file with django using django template engine (there is
noting to render)
- there is the overhead of rendering template (there is noting to
template there)
- login is handled with js
- I have more control over how this file is loaded (using django)
just wanted to know what do you recommend? what solution you normally choose
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.