diff --git a/market/management/commands/delete_all_node_data.py b/market/management/commands/delete_all_node_data.py index 5884d18..df45de0 100644 --- a/market/management/commands/delete_all_node_data.py +++ b/market/management/commands/delete_all_node_data.py @@ -35,6 +35,7 @@ def handle(self, *args, **options): print(f'Current: {current}', end='\r') if provider.owner: provider.owner.delete() + if provider.gallery: provider.gallery.delete() provider.delete() diff --git a/templates/category/tag_list_detail.html b/templates/category/tag_list_detail.html new file mode 100644 index 0000000..08df4ea --- /dev/null +++ b/templates/category/tag_list_detail.html @@ -0,0 +1,5 @@ +
+{% for tag in tags %} + {{tag.name}} +{% endfor %} +
\ No newline at end of file diff --git a/templates/provider/header_detail.html b/templates/provider/header_detail.html index b7161cf..7e2556e 100644 --- a/templates/provider/header_detail.html +++ b/templates/provider/header_detail.html @@ -3,17 +3,18 @@
-
+
{% include 'account/profile_circle.html' with addclass='float-left' %}

{{account.name}}

{{account.address }} + {% include 'category/tag_list_detail.html' with tags=account.categories.all %}
{% if edit_url %} -