Skip to content

Commit

Permalink
Merge branch 'develop' into bugfix/issue-606-tox-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Jun 24, 2020
2 parents 502d3d7 + 23c4101 commit e704bc5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions changes/597.bugfix
@@ -0,0 +1 @@
Fix extra migration when customizing BLOG_PLUGIN_TEMPLATE_FOLDERS
1 change: 1 addition & 0 deletions changes/598.bugfix
@@ -0,0 +1 @@
Set default pytest configuration
1 change: 1 addition & 0 deletions changes/603.bugfix
@@ -0,0 +1 @@
Add missing condition for (date_published) <li> on blog_meta template
6 changes: 3 additions & 3 deletions djangocms_blog/migrations/0024_auto_20160706_1524.py
Expand Up @@ -16,7 +16,7 @@ class Migration(migrations.Migration):
model_name="authorentriesplugin",
name="template_folder",
field=models.CharField(
default="plugins",
default=BLOG_PLUGIN_TEMPLATE_FOLDERS[0][0],
verbose_name="Plugin template",
max_length=200,
help_text="Select plugin template to load for this instance",
Expand All @@ -27,7 +27,7 @@ class Migration(migrations.Migration):
model_name="genericblogplugin",
name="template_folder",
field=models.CharField(
default="plugins",
default=BLOG_PLUGIN_TEMPLATE_FOLDERS[0][0],
verbose_name="Plugin template",
max_length=200,
help_text="Select plugin template to load for this instance",
Expand All @@ -38,7 +38,7 @@ class Migration(migrations.Migration):
model_name="latestpostsplugin",
name="template_folder",
field=models.CharField(
default="plugins",
default=BLOG_PLUGIN_TEMPLATE_FOLDERS[0][0],
verbose_name="Plugin template",
max_length=200,
help_text="Select plugin template to load for this instance",
Expand Down
Expand Up @@ -6,9 +6,11 @@
{% trans "by" %} <a href="{% url 'djangocms_blog:posts-author' post.author.get_username %}">{% if post.author.get_full_name %}{{ post.author.get_full_name }}{% else %}{{ post.author }}{% endif %}</a>
</li>
{% endif %}
{% if post.date_published %}
<li>
{{ post.date_published|date:"DATE_FORMAT" }}
</li>
{% endif %}
{% if post.date_featured %}
<li>
{{ post.date_featured|date:"DATE_FORMAT" }}
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Expand Up @@ -164,3 +164,9 @@ ignore =
*.mo
ignore-bad-ideas =
*.mo

[pytest]
DJANGO_SETTINGS_MODULE = cms_helper
python_files = test_*.py
traceback = short
addopts = --reuse-db

0 comments on commit e704bc5

Please sign in to comment.