File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ {% load static %}
5
+ < link rel ="stylesheet " href ="{% static "admin /css/base.css" %}" />
6
+ < title > {% block title %}My Amazing Site{% endblock %}</ title >
7
+ </ head >
8
+
9
+ < body >
10
+ < div id ="sitebar ">
11
+ {% block sidebar %}
12
+ < ul >
13
+ < li > < a href ="/ "> Proejct_Home</ a > </ li >
14
+ < li > < a href ="/admin/ "> Admin</ a > </ li >
15
+ </ ul >
16
+ {% endblock %}
17
+ < br />
18
+ </ div >
19
+
20
+ < div id ="content ">
21
+ {% block content %}{% endblock %}
22
+ </ div >
23
+ </ body >
24
+ </ html >
Original file line number Diff line number Diff line change
1
+ {% extends "base.html" %}
2
+
3
+ < title > {% block title %}Books Application Site{% endblock %}</ title >
4
+
5
+ {% block sidebar %}
6
+ {{ block.super }}
7
+ < ul >
8
+ < li > < a href ="/books/ "> Books_Home</ a > </ li >
9
+ </ ul >
10
+ {% endblock %}
You can’t perform that action at this time.
0 commit comments