> In admin.py you can for example ...
>
> fieldsets = (
> (None, {
> 'classes': ['myowncssclassname',],
> 'fields': (
> 'field_abc',
> 'field_xyz',
>
> ... and specify myowncssclassname in myextrastyle.css then finally
> in the template include myextrastyle.css in the extrastyle block
>
I have not been able to get this. Any further explanation would be
really useful.
In the meanwhile, I came across django-widget-tweak. Could anyone
with an experience of using it explain how it could be deployed to
customise width of a TabularInline object in admin-form.
Vikas
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment