django-modeladmin-reorder
django-modeladmin-reorder copied to clipboard
Breadcrumbs are not renamed
First of all, thanks for this great little project! It makes the django admin look a lot more logical to my users. However, I have noticed the following incorrect behavior:
After renaming apps and models using the {'label': 'New label'} syntax, the breadcrumbs shown in the top left corner of the django admin still have the original name. I'm using Python 3.4.2, Django 1.7, and django-modeladmin-reorder 0.1.2
Thank You very much for your kind words. Really appreciate it.
It's going to be very difficult to to rename breadcrumb text using just a middleware. I mainly use this app for reordering apps, but I'll look into this as soon as I can.
In the mean time, if you figure out how to do this, pull requests are always welcome.
— Mishbah
As of django 1.8, you can rename the app with AppConfig. Just drop the code below in the app init.py.
# coding:utf-8
from __future__ import unicode_literals
from django.apps import AppConfig
class MyAppConfig(AppConfig):
name = 'school'
verbose_name = "Escola"
default_app_config = 'school.MyAppConfig'