Hi all,

I really like how the admin interface does a lot of the work for me in
developing a site with basic CRUD functions, and a few free bonuses
like pagination and list filtering.

I agree with all the comments on #820 <https://code.djangoproject.com/
ticket/820> requesting this feature (as well as the "view" permission
which goes with it).

This ticket and several others were closed because a design decision
has been made that the admin interface is for admins only, and such a
feature is out of scope. A lot of people believe that it should be in
scope. Therefore I would like to politely request a reconsideration of
this decision.

There are a few very simple things that Django could do to make this
much easier:

* a simple way (e.g. a switch) to make AdminChangeForm or
fieldset.html produce all fields as read-only, without including them
in CustomAdminForm.readonly_fields; (1-2 lines)

* a way to override the default template selection on
ModelAdmin.render_change_form (1 line)

* an easy way to add URLs to AdminSite.get_urls (5 lines if
intergrated? currently requires about 20 lines of external code for a
generic solution)

* an easy way to override the buttons rendered by the submit_row
template tag, such as wrapping it in a {% block submit_block %} in
change_form.html (currently requires copying the whole of
change_form.html to make this change)

In total the (generic) solution requires a few hundred lines of code,
mainly because those features are not present, and would be about 20
lines of code if they were.

Thanks for your consideration,

Cheers, Chris.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to