sshwsfc/django-xadmin — pull request #78 by Catstyle (2013-11-11 03:03:28+00:00)
Title: fix detail_with_fields bug

if we assign fields attribute in admin object and someone just has view permission only to view details view
he/she will get a page with a updating form in the bottom

it is because we don't handle this situation in DetailAdminView when get_form_model and get_form_layout
now i fixed it trying my best