4 ms·
Django is a far bigger pain than Vue. DRF is great for making APIs, authenticating and talking to the APIs with Vue is super easy and straight forward (I recom
by pythonaut_16 8y ago
Django is a far bigger pain than Vue.
DRF is great for making APIs, authenticating and talking to the APIs with Vue is super easy and straight forward (I recommend using Axios and writing service files in Javascript to encapsulate the logic for actually calling the API.
The main pain point is that Django is kind of unwieldy to deploy, because you'll have your built Vue project (i.e. the dist/ folder by default), and then you'll have the collectstatic files from Django, so setting up a build process that combines all of that is a bit difficult.