Greetings, i read about admin customization, but dont find answers... or
dont understand it.
I have 2 questions.
1. I need to just add one css class for specialy field. It can be solve via
Formsets, but i dont understand how do it for one field, i dont wanna to
touch other fields in formset. I need it for add js_rich_text_editor, like
FCKEditor.
2. I need to change layout of a model in admin site. Explain - i have a
some articles, which have field "order". I want set this field visible in
list of all articles, for more comfort for user. And add some method for
change order (UP and DOWN the articles), i thought exist some way to make
first part of it through function
def __unicode__(self):
return self.title
but can't understand how. And don't have any idea how make the second part.
I need create method which will change order, it's seems pretty easy, but
how i can call it from admin-interface?
Thx.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/jvcGypPFDVQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.