How to change app name in Django admin?

后端 未结 8 1986
小鲜肉
小鲜肉 2020-12-14 08:03

I created \'frontend\' application using ./manage.py startproject frontend

But for some reason I just want to change the app name in the Dj

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-14 08:37

    It sounds like you are trying to change how the appname is listed within the Django Admin? This wasn't possible before Django 1.7, but now you can do it like this:

    https://docs.djangoproject.com/en/1.7/ref/applications/#for-application-users

提交回复
热议问题