base template extension

This commit is contained in:
2020-03-09 20:13:13 -07:00
parent 522ffac9a0
commit 9ade5edae8
5 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,4 @@
{% extends 'base.html' %}
{% block content %}
HI
{% endblock %}

View File

@ -1,3 +1,5 @@
from django.shortcuts import render
# Create your views here.
def home(request):
return render(request, 'products/home.html')