Skip to content

Commit

Permalink
Make meta description optional
Browse files Browse the repository at this point in the history
Contribute to #3
  • Loading branch information
Loic Teixeira committed Apr 26, 2016
1 parent eba0288 commit f4d0229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wagtailembedder/views/chooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def index(request):
content_type._meta.app_label,
content_type._meta.model.__name__,
content_type._meta.verbose_name,
content_type._meta.description,
getattr(content_type._meta, 'description', ''),
)
for content_type in get_snippet_models()
if user_can_edit_snippet_type(request.user, content_type)
Expand Down

0 comments on commit f4d0229

Please sign in to comment.