#4205: question mark in the end of url causes wrong list display in admin panel
-------------------------------------------+--------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian         
  Status:  new                             |   Component:  Admin interface
 Version:  SVN                             |    Keywords:                 
   Stage:  Unreviewed                      |   Has_patch:  0              
-------------------------------------------+--------------------------------
 I have customized display of list of orders with list_display.
 it works fine.
 there are all nessesery columns i need.
 but when i put question mark (for GET method) in the end i can see only
 first field of my model in the list.
 and it is not the default onem __str__ it is just first field in model
 
 here is my model
 
 class Orders(models.Model):
     manager = models.ForeignKey(User,verbose_name=_("Manager"))
     ordertext = models.TextField(_("Order contents"))
     order_date = models.DateTimeField(_("Order date"))
     client_name = models.CharField(_("Client"),maxlength=255)
     order_state = models.ForeignKey(OrderStates,verbose_name=_("Order
 state"))
     class Admin:
 
         list_display =
 ['order_date','client_name','manager','order_state']
         list_filter =  ['manager','order_date','order_state']
         pass
 
     class Meta:
         verbose_name = _('Order')
         verbose_name_plural = _('Orders')
 
 
     def __str__(self):
         return (self.client_name)
 
 
 good link is http://django.ru.echo/admin/orders/orders/
 i have problems when i follow this link
 http://django.ru.echo/admin/orders/orders/?
 site on local network. u may not try to access.
 thanx. hope u will find the problem soon.
 i will attach screenshots

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4205>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to