Jezzy Grey

Generation

Create a base_generic template for a django project which will include adding a static css file, a sidebar and a content block

<!DOCTYPE html> <html> <head> {% load staticfiles %} <link rel="stylesheet" href="{% static 'css/style.css' %}"> <title>{% block title %}general title{% endblock %}</title> </head> <body> {% include "sidebar.html" %} {% block content %} general content {% endblock %} </body> </html>

Questions about programming?Chat with your personal AI assistant