Skip to content

Commit

Permalink
Merge pull request #332 from petedermott/master
Browse files Browse the repository at this point in the history
Fix check for showing custom model types in admin
  • Loading branch information
stephenmcd committed Dec 12, 2018
2 parents b984e18 + 755e324 commit 732af5d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2,7 +2,7 @@
{% load shop_tags %}

{% block object-tools-items %}
{% if content_models.count > 1 %}
{% if content_models|length >= 1 %}
<li>
{% include "admin/includes/content_typed_change_list.html" %}
</li>
Expand Down

0 comments on commit 732af5d

Please sign in to comment.