List Info

Thread: Change Date presentation in Admin?




Change Date presentation in Admin?
country flaguser name
United States
2007-10-18 04:13:59
Hallo,

If you have a attribute in a model which is defined as
"models.DateTimeField()" you will get
"Date" and "Time" for that
attribute in the "Add" or "Change"
pages. I have changed the "width"
element for that attribute because it was a long string. I
have done
this by changing of "width" element in
"forms.css" file. By this
changing the "Time" item does not come precisely
under the 'Date'
item.
How can I arrange this?
The other alternative is: Is it possible to present them
(Date and
Time) on the same row?

Regards,
Nader


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )