What is the best way to serve static web pages from a Django application?

I am creating a relatively simple Django application , and besides the main page, where most of the dynamic parts of the application are, there are several pages that I need, which will not be dynamic at all (Oh, FAQ, etc.). What is the best way to integrate them into Django, idealization using the Django template engine? Should I just create a template for each and then have a view that just displays this template?

+3
source share
2 answers

Have you viewed the flat pages in Django? He probably does everything you are looking for.

+6

Source: https://habr.com/ru/post/1698942/


All Articles