[Vuejs]-Import Issue With django.views

0๐Ÿ‘

โœ…

I was able to solve this issue by adding a views.py file in C:\Users\username\AppData\Roaming\Python\Python39\site-packages\django\views. In the file was this code:

from django.shortcuts import render

def test_vue(request):
    return render(request, 'DB_Vue_Project/test.html')

Leave a comment