Jezzy Grey

Generation

Create a homepage template for a django project that will extend the base_generic template and output the text passed to the title_text variable in the header. The template must include a content block and a title block

<!DOCTYPE html> <html> <head> <title> {% block title_block %} {{ title_text }} {% endblock %} </title> </head> <body> <div class="container" id="main"> {% block content %} {% endblock %} </div> </body> </html>

Questions about programming?Chat with your personal AI assistant