Browse Source

Updating to wagtail 2.4 (#81)

Vince Salvino 6 years ago
parent
commit
1bea27159f
4 changed files with 39 additions and 5 deletions
  1. 3 3
      coderedcms/templates/wagtailadmin/base.forked.html
  2. 1 0
      docs/releases/index.rst
  3. 33 0
      docs/releases/v0.11.rst
  4. 2 2
      setup.py

+ 3 - 3
coderedcms/templates/wagtailadmin/base.forked.html

@@ -1,7 +1,7 @@
 {# This is a direct fork of wagtailadmin/base.html with the title of the logo anchor changed #}
 
 {% extends "wagtailadmin/admin_base.html" %}
-{% load wagtailadmin_tags wagtailcore_tags staticfiles i18n %}
+{% load wagtailadmin_tags wagtailcore_tags static i18n %}
 
 {% block furniture %}
     <div class="nav-wrapper">
@@ -9,14 +9,14 @@
             <a href="{% url 'wagtailadmin_home' %}" class="logo" title="Admin Dashboard">
                 {% block branding_logo %}
                     {# Mobile-only logo: #}
-                    <div class="wagtail-logo-container__mobile u-hidden@medium">
+                    <div class="wagtail-logo-container__mobile u-hidden@sm">
                         <img class="wagtail-logo wagtail-logo__full" src="{% static 'wagtailadmin/images/wagtail-logo.svg' %}" alt="Wagtail" width="80" />
                     </div>
 
                     {# Desktop logo (animated): #}
                     {% include "wagtailadmin/shared/animated_logo.html" %}
                 {% endblock %}
-                <span class="u-hidden@medium">{% trans "Dashboard" %}</span>
+                <span class="u-hidden@sm">{% trans "Dashboard" %}</span>
             </a>
 
             {% menu_search %}

+ 1 - 0
docs/releases/index.rst

@@ -17,6 +17,7 @@ CodeRed CMS follows the ``[major].[minor].[maintenance]`` versioning scheme.
 .. toctree::
     :maxdepth: 1
 
+    v0.11.0
     v0.10.0
     v0.9.1
     v0.9.0

+ 33 - 0
docs/releases/v0.11.rst

@@ -0,0 +1,33 @@
+CodeRed CMS 0.11.0 release notes
+================================
+
+
+New features
+------------
+
+* Updated to Wagtail 2.4
+* ``coderedcms start`` command has new ``--sitename`` and ``--domain`` options to help pre-populate
+  settings. The command also has more helpful output for beginners.
+
+
+Bug fixes
+---------
+
+* Fixed invalid HTML syntax in "Latest Pages" block.
+* Fix appearance of search page when no query is specified.
+* Allow reordering form fields in generated website app.
+* Fixed bug in ``prod.py`` settings in generated website app.
+* Added ``__init__.py`` and ``apps.py`` to generated website app for better compatibility with uWSGI.
+
+
+Maintenance
+-----------
+
+* Standardized edit handler definitions in `coderedcms/models/page_models.py`
+* Removed unused CSS from deprecated "Formatted Code Block"
+
+
+Upgrade considerations
+----------------------
+
+* Django 1.11 support has been removed per Wagtail 2.4

+ 2 - 2
setup.py

@@ -42,10 +42,10 @@ setup(
     install_requires=[
         'django-eventtools==0.9.*',
         'django-bootstrap4',
-        'django>=1.11,<2.2',
+        'django>=2.0,<2.2',
         'geocoder>=1.38.1,<2.0',
         'icalendar==4.0.*',
-        'wagtail==2.3.*',
+        'wagtail==2.4.*',
         'wagtailfontawesome>=1.1.3,<2.0',
         'wagtail-cache==0.2.*',
         'wagtail-import-export>=0.1,<0.2'