diff --git a/jarbas/dashboard/admin.py b/jarbas/dashboard/admin/__init__.py similarity index 98% rename from jarbas/dashboard/admin.py rename to jarbas/dashboard/admin/__init__.py index 02259787e..3f8e3fdd4 100644 --- a/jarbas/dashboard/admin.py +++ b/jarbas/dashboard/admin/__init__.py @@ -359,7 +359,7 @@ def _format_document(self, obj): return obj.cnpj_cpf def supplier_info(self, obj): - return mark_safe('{}
{}'.format(obj.supplier, self._format_document(obj))) + return mark_safe(f'{obj.suplier}
{self._format_document(obj)}') supplier_info.short_description = 'Fornecedor' @@ -383,7 +383,7 @@ def rosies_tweet(self, obj): def receipt_link(self, obj): if not obj.receipt_url: return '' - return mark_safe('📃'.format(obj.receipt_url)) + return mark_safe(f'📃') receipt_link.short_description = ''