0

I know I can change the display title for a model in Django Admin using

    class Meta:
        verbose_name='Custom Model Name Here'

However, is there a way to display which app heading a model is displayed under?

For example, if I create a custom user model Users in a new app also called users then the default user model goes from Authentication and Authorization > Users to Users > Users.

I would like to retain it under the original heading Authentication and Authorization > Users.

enter image description here

I have read this answer however it only changes the verbose name of the app associated with the model. I want to show the model in a different group on the admin panel. You can see the issue that approach takes here:

enter image description here

alias51
  • 8,178
  • 22
  • 94
  • 166
  • I think it was wrong closed, the duplicated one is not asking the same. – Hagyn Jul 20 '19 at 14:35
  • See this is not the same question. I will edit to clarify the difference. – alias51 Jul 20 '19 at 14:35
  • Okay, I had a response for you. I will post it when after resolving it. – Hagyn Jul 20 '19 at 14:36
  • I have reworded the question again here: https://stackoverflow.com/questions/57125725/how-to-reassign-a-model-to-a-different-app-for-display-only-purposes-in-django-a – alias51 Jul 20 '19 at 14:41

0 Answers0