Hello guys, 

I use the admin quite extensively in my work with Django, and it's awesome.
One place that can use some polish is the urls.
As you know, the admin urls evolve around are the <app_label> /  
<model_name> , and those two can get technical, long and in short not user 
friendly.
Hence, I propose a new feature of making those urls configurable

First of all, what do you think ? Would you benefit from this new feature? 
and mainly i'm asking devs with extensive use of the admin.

Now for the technical part:
The idea was initially is to state those configuration around the AppConfig 
(for the app part of the url) and in the model meta (for the model part)
I got a review from Tim, that he don't like the idea of the meta, and i can 
kinda agree with his point, and so, where do you suggest stating this 
configuration?

Another idea that cross my mind now, is to state those configuration in the 
`settings.py`, something like this 

ADMIN_URLS = {
    'apps': {
        'celery_queue_tools': 'cool-app-name'
    }, 
    'models': {
       'mylongmodelname': 'user-friendly'
    }
}

This is just another idea of where to write the url customization 
configuration, all is up for discussion.

Thank you all and awaiting your feedback.




-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/712bbe7e-91ed-4f63-89c6-f572e2cdfc48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to