база. html
<head> {% block csslink %}<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">{% endblock csslink %} {% block cssfile %} {% endblock cssfile %} <title>{% block title %} Base {% endblock title %}</title> </head> <body> {% include 'navbar.html' %} <br> {% block content %} {% endblock %} </body>
Контакт. html
{% extends 'base.html' %} {% load static %} {% block csslink %} <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> {% endblock csslink %} {% block cssfile %}<link rel="stylesheet" type="text/css" href="{% static 'css/contactstyle.css' %}"> {% endblock cssfile %} {% block title %}Contact {% endblock title %} {% block content %}
Кто-нибудь подскажет, как можно добавить эти версии без изменения стилей?
Посетить https://github.com/manupythondeveloper/test