darklow / django-suit

Modern theme for Django admin interface
http://djangosuit.com/
Other
2.32k stars 704 forks source link

Just add a custom url to admin menu? #621

Closed realsby closed 7 years ago

realsby commented 7 years ago

I want to add a custom url to django admin. Do I have to write all my apps in SUIT_CONFIG ? Is there any easy way to add just a custom link? Thanks

SUIT_CONFIG = { 'ADMIN_NAME': 'Test Admin', 'MENU': ( 'SOME_MAGIC', {'label': 'Translations', 'icon': 'icon-question-sign', 'url': '/translation/'}, ), }

darklow commented 7 years ago

Only way is to define config, believe me, you will want to do that sooner or later anyway, to re-order by another logic (Configuration, Content, etc).