From 996bf0e7898d7b5e5efc8052e50019285fd04ddc Mon Sep 17 00:00:00 2001 From: filipecmedeiros Date: Fri, 11 Nov 2016 12:14:40 -0300 Subject: [PATCH] Adding summernote on replicate course [Issue #232] --- core/migrations/0004_auto_20161110_1215.py | 21 +++++++++++++++++++++ courses/templates/course/replicate.html | 15 +++++++++++---- 2 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 core/migrations/0004_auto_20161110_1215.py diff --git a/core/migrations/0004_auto_20161110_1215.py b/core/migrations/0004_auto_20161110_1215.py new file mode 100644 index 0000000..c0c6f41 --- /dev/null +++ b/core/migrations/0004_auto_20161110_1215.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10 on 2016-11-10 15:15 +from __future__ import unicode_literals + +import django.contrib.postgres.fields.jsonb +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0003_auto_20161101_1457'), + ] + + operations = [ + migrations.AlterField( + model_name='log', + name='context', + field=django.contrib.postgres.fields.jsonb.JSONField(blank=True, verbose_name='Context'), + ), + ] diff --git a/courses/templates/course/replicate.html b/courses/templates/course/replicate.html index c103d59..93e12fd 100644 --- a/courses/templates/course/replicate.html +++ b/courses/templates/course/replicate.html @@ -13,9 +13,10 @@ {% block content %}
-
{% csrf_token %} + + {% csrf_token %}
- + @@ -27,7 +28,7 @@
- + {% trans 'Course objective' %} @@ -123,7 +124,7 @@ {% trans 'CourseCategory which the course belongs' %} -
+
@@ -131,5 +132,11 @@
+


{% endblock %} -- libgit2 0.21.2