Friday, September 26, 2014

arrange date-products data on admin

Hello,    I have a question on a way to arrange date-products data on admin. I want to make it looke like 
date                  productA  09/26  9:00       5                09/26 10:00      8                09/26 13:00      4                09/27  9:00       9                09/27 10:00      4               09/27 13:00      9                
|  |  |  V
date               09/26          | 09/27  9:00                 5                    9  10:00               8                    4  13:00               4                    9        models.py  class Products(models.Model):      date = models.DateTimeField(auto_now=True)      productA = models. IntegerField()        I prefer to fix it within admin.py, not by editing HTML.   Any advise would be appreciated.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d0b3efdb-d368-4304-9137-fba932ecb86a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment