base template extension
This commit is contained in:
4
products/templates/products/home.html
Normal file
4
products/templates/products/home.html
Normal file
@ -0,0 +1,4 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
HI
|
||||
{% endblock %}
|
@ -1,3 +1,5 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
|
||||
def home(request):
|
||||
return render(request, 'products/home.html')
|
||||
|
Reference in New Issue
Block a user