Answer the question
In order to leave comments, you need to log in
How to convert to Django 2?
I'm trying to display data through the rest framework on one domain 127.0.0.1:8000
so they are not displayed
re_path(r'^.*', TemplateView.as_view(template_name='index.html')),
path(' ', TemplateView.as_view(template_name='index.html')),
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question