Change base html file directory from assignments to root

parent f0b12b0f
{% extends 'assignments/base.html' %} {% extends 'base.html' %}
{% block title %}{{assignment.name}} | {{assignment.course.course_code}}{% endblock %} {% block title %}{{assignment.name}} | {{assignment.course.course_code}}{% endblock %}
{% block content %} {% block content %}
<h1>{{assignment.course.course_code}} | {{assignment.course.course_title}} - {{assignment.course.section}}</h1> <h1>{{assignment.course.course_code}} | {{assignment.course.course_title}} - {{assignment.course.section}}</h1>
......
{% extends 'assignments/base.html' %} {% extends 'base.html' %}
{% block content %} {% block content %}
<h1>Assignments Per Course</h1> <h1>Assignments Per Course</h1>
<div> <div>
......
...@@ -62,7 +62,7 @@ ROOT_URLCONF = 'widget_alipins.urls' ...@@ -62,7 +62,7 @@ ROOT_URLCONF = 'widget_alipins.urls'
TEMPLATES = [ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [], 'DIRS': [(BASE_DIR/"templates"),],
'APP_DIRS': True, 'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
'context_processors': [ 'context_processors': [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment