refactor generic url creation

This commit is contained in:
vabene1111
2020-03-17 17:23:39 +01:00
parent 09ff7e82f1
commit 17b9519fa9
12 changed files with 53 additions and 52 deletions

View File

@@ -13,7 +13,7 @@
<h3>{% trans 'New' %} {{ title }} </h3>
{% if form.Meta.model|get_class == 'Storage' %}
{% if form.Meta.model|get_class_name == 'Storage' %}
{% include 'include/storage_backend_warning.html' %}
{% endif %}