more collection stuff
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
|
||||
{% include 'exam_notes.html' %}
|
||||
|
||||
|
||||
{% if exam.examcollection %}
|
||||
<div>This exam is part of the collection: <a href="{{ exam.examcollection.get_absolute_url }}">{{ exam.examcollection }}</a></div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if exam.recreate_json %}
|
||||
<div class="alert alert-warning" role="alert">
|
||||
Exam JSON may be out of date.
|
||||
|
||||
@@ -104,6 +104,13 @@ MIDDLEWARE = [
|
||||
|
||||
ROOT_URLCONF = "rad.urls"
|
||||
|
||||
default_loaders = [
|
||||
"django.template.loaders.filesystem.Loader",
|
||||
"django.template.loaders.app_directories.Loader",
|
||||
]
|
||||
|
||||
cached_loaders = [("django.template.loaders.cached.Loader", default_loaders)]
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
"BACKEND": "django.template.backends.django.DjangoTemplates",
|
||||
@@ -117,7 +124,9 @@ TEMPLATES = [
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
"django.template.context_processors.static",
|
||||
],
|
||||
"loaders": default_loaders if DEBUG else cached_loaders,
|
||||
},
|
||||
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<h2>Cloning Exam: {{exam}}</h2>
|
||||
<p>
|
||||
This will create a new exam with the same settings, questions and answers as the original exam. <br/>
|
||||
This will create a new exam with the same settings, authors, questions and answers as the original exam. <br/>
|
||||
Candidate groups and candidates will not be cloned.
|
||||
</p>
|
||||
<form action="" method="post">
|
||||
|
||||
Reference in New Issue
Block a user