diff --git a/djadmin2/core.py b/djadmin2/core.py index 4940ade..5349a6f 100644 --- a/djadmin2/core.py +++ b/djadmin2/core.py @@ -120,7 +120,7 @@ class Admin2(object): url( regex=r'^(?P\w+)/$', view=self.app_index_view.as_view(**self.get_app_index_kwargs()), - name='app-index' + name='app_index' ), url( regex=r'^api/v0/$', diff --git a/djadmin2/templates/admin2/bootstrap/includes/app_model_list.html b/djadmin2/templates/admin2/bootstrap/includes/app_model_list.html index 2474b51..3a4c1c9 100644 --- a/djadmin2/templates/admin2/bootstrap/includes/app_model_list.html +++ b/djadmin2/templates/admin2/bootstrap/includes/app_model_list.html @@ -3,7 +3,7 @@ - {{ app_label|title }} + {{ app_label|title }} diff --git a/djadmin2/templates/admin2/bootstrap/model_confirm_delete.html b/djadmin2/templates/admin2/bootstrap/model_confirm_delete.html index 7a2e2fc..c2fd7f8 100644 --- a/djadmin2/templates/admin2/bootstrap/model_confirm_delete.html +++ b/djadmin2/templates/admin2/bootstrap/model_confirm_delete.html @@ -7,9 +7,9 @@ {% block breadcrumbs %}
  • Home /
  • -
  • {{ app_label|title }} /
  • +
  • {{ app_label|title }} /
  • {{ model_name_pluralized|title }} /
  • -
  • {{ object }} /
  • +
  • {{ object }} /
  • {% trans "Delete" %}
  • {% endblock %} diff --git a/djadmin2/templates/admin2/bootstrap/model_detail.html b/djadmin2/templates/admin2/bootstrap/model_detail.html index 1153400..fa2e217 100644 --- a/djadmin2/templates/admin2/bootstrap/model_detail.html +++ b/djadmin2/templates/admin2/bootstrap/model_detail.html @@ -8,9 +8,9 @@ {% block breadcrumbs %}
  • Home /
  • -
  • {{ app_label|title }} /
  • +
  • {{ app_label|title }} /
  • {{ model_name_pluralized|title }} /
  • -
  • {{ object }}
  • +
  • {{ object }}
  • {% endblock %} {% block content %} diff --git a/djadmin2/templates/admin2/bootstrap/model_list.html b/djadmin2/templates/admin2/bootstrap/model_list.html index 14e27fa..5e501b4 100644 --- a/djadmin2/templates/admin2/bootstrap/model_list.html +++ b/djadmin2/templates/admin2/bootstrap/model_list.html @@ -11,8 +11,8 @@ {% block breadcrumbs %}
  • Home /
  • -
  • {{ app_label|title }} /
  • -
  • {{ model_name_pluralized|title }}
  • +
  • {{ app_label|title }} /
  • +
  • {{ model_name_pluralized|title }}
  • {% endblock %} {% block content %} @@ -60,7 +60,7 @@ - {{ object_list|length }} {{ model_name_pluralized }} + {{ object_list|length }} {{ model_name_pluralized }} diff --git a/djadmin2/templates/admin2/bootstrap/model_update_form.html b/djadmin2/templates/admin2/bootstrap/model_update_form.html index dc417f7..51dfe46 100644 --- a/djadmin2/templates/admin2/bootstrap/model_update_form.html +++ b/djadmin2/templates/admin2/bootstrap/model_update_form.html @@ -8,13 +8,13 @@ {% block breadcrumbs %}
  • Home /
  • -
  • {{ app_label|title }} /
  • +
  • {{ app_label|title }} /
  • {{ model_name_pluralized|title }} /
  • {% if action == 'Add' %}
  • {{ action }}
  • {% else %}
  • {{ object }} /
  • -
  • {% trans 'Change' %}
  • +
  • {% trans 'Change' %}
  • {% endif %} {% endblock %} @@ -51,7 +51,7 @@ {% endif %} {{ field }} - {% endfor %} + {% endfor %} {% endfor %}