Personally, I'm not sure I see that much value. As I see it, the admin is 
intended for technical users, not as a general admin interface for end 
users (in this context I'm mostly talking about non-programmers). While it 
can and I sometimes do allow end-users to use the admin directly, I really 
feel like it's not the intended use.

I'm also not really sure what modifying the URLs would achieve, since users 
aren't likely to be typing them in directly, anyway.

Tom

On Friday, June 29, 2018 at 10:49:26 AM UTC+1, Ramez Ashraf wrote:
>
> 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 [email protected].
To post to this group, send email to [email protected].
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/d6c3b94e-3bcd-49b5-b1b5-1c93c381ec11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to