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 content %}
<h1>{{assignment.course.course_code}} | {{assignment.course.course_title}} - {{assignment.course.section}}</h1>
......
{% extends 'assignments/base.html' %}
{% extends 'base.html' %}
{% block content %}
<h1>Assignments Per Course</h1>
<div>
......
......@@ -62,7 +62,7 @@ ROOT_URLCONF = 'widget_alipins.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': [(BASE_DIR/"templates"),],
'APP_DIRS': True,
'OPTIONS': {
'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