Skip to content

Commit 7b169c7

Browse files
committed
Merge remote-tracking branch 'origin' into release/2
2 parents f25d1a3 + 948f546 commit 7b169c7

5 files changed

Lines changed: 44 additions & 7 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Generated by Django 4.1.10 on 2023-07-13 19:18
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
dependencies = [
8+
("coderedcms", "0038_alter_classifier_slug"),
9+
]
10+
11+
operations = [
12+
migrations.AlterField(
13+
model_name="classifierterm",
14+
name="slug",
15+
field=models.SlugField(
16+
allow_unicode=True,
17+
max_length=255,
18+
unique=True,
19+
verbose_name="Slug",
20+
),
21+
),
22+
]

coderedcms/models/snippet_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ class Meta(Orderable.Meta):
189189
allow_unicode=True,
190190
unique=True,
191191
verbose_name=_("Slug"),
192+
max_length=255,
192193
)
193194
name = models.CharField(
194195
max_length=255,

docs/contributing/index.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,20 +303,20 @@ Updating Tutorial Documentation
303303
-------------------------------
304304

305305
From time to time, the documentation for the tutorial will need to be updated. You can work directly in
306-
the tutorial site by loading the fixture file for its database (read more at :ref:`load-data`).
306+
the tutorial site by loading the fixture file for its database (read more at :ref:`load-data`).
307307

308308
However, once you have worked in the tutorial site and gotten new screenshots for the **Getting Started** documentation,
309-
you will also need to update the fixture file, which is located in ``tutorial > mysite > website > fixtures``.
309+
you will also need to update the fixture file, which is located in ``tutorial > mysite > website > fixtures``.
310310

311311
**These are the steps for updating the fixture:**
312312

313313
1. From the command line, type ``python manage.py dumpdata --natural-foreign --natural-primary -e contenttypes -e auth.Permission --indent 4 > dumpdata.json``
314314

315315
2. The dumped data file will show up in the ``website`` folder. Open it and copy/paste its contents into a new file called ``database.json``. This will fix the encoding issue you would run into otherwise. Save the new fixture file and delete the one that was dumped. Also delete the one that is currently in the ``fixtures`` folder.
316316

317-
3. Move the ``database.json`` file into the ``fixtures`` folder.
317+
3. Move the ``database.json`` file into the ``fixtures`` folder.
318318

319-
4. For testing ``loaddata``, please review the steps at :ref:`load-data`.
319+
4. For testing ``loaddata``, please review the steps at :ref:`load-data`.
320320

321321

322322
Publishing a New Release
@@ -349,10 +349,11 @@ Finally build and update docs:
349349
350350
$ ./ci/make-docs.ps1
351351
352-
If updating docs for an existing major version release:
352+
Copy the contents of ``docs/_build/html/`` to the CodeRed docs server under the existing version directory. Using the ``cr`` tool:
353353

354-
#. Copy the contents of ``docs/_build/html/`` to the CodeRed docs server under
355-
the existing version directory.
354+
.. code-block:: console
355+
356+
$ cr upload --path ./docs/_build/html/ --remote /www/wagtail-crx/ docs
356357
357358
Note that we do not release separate documentation versions for minor or
358359
maintenance releases. Update the existing major version docs with release notes

docs/releases/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Supported Versions:
2525
.. toctree::
2626
:maxdepth: 1
2727

28+
v2.1.4
2829
v2.1.3
2930
v2.1.2
3031
v2.1.1

docs/releases/v2.1.4.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
v2.1.4 release notes
2+
====================
3+
4+
Bug fixes:
5+
6+
* Fix bug creating ClassifierTerm when name is over 50 characters.
7+
8+
9+
Thank you!
10+
----------
11+
12+
Thanks to everyone who contributed to `2.1.4 on GitHub <https://github.com/coderedcorp/coderedcms/milestone/49?closed=1>`_.

0 commit comments

Comments
 (0)