How do I override a Django template?

You can either put template overrides in your project’s templates directory or in an application’s templates directory . If you have app and project templates directories that both contain overrides, the default Django template loader will try to load the template from the project-level directory first.

Sizin İçin Seçtik  How do I add a template to Django project?

Leave a Reply

Your email address will not be published. Required fields are marked *