Answer the question
In order to leave comments, you need to log in
How to change/fix a template from some package in django?
Just started learning django (and python as well), I decided to make a simple rest api using Django REST framework. This framework provides a convenient visual interface (template) for viewing the available api. Ran a basic example from the documentation. Tell me, how can I correct \ translate \ replace the template for viewing api, but not global, but local in my project? I've seen this somewhere before, but I can't find it.
Now I tried, I created the rest_framework directory in the templates of my project, I made replacements inside the templates, but nothing changed in the end.
Answer the question
In order to leave comments, you need to log in
download this lib and copy its templates to your_app/templates/rest_framework folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question