Changes between Initial Version and Version 1 of Ticket #13825


Ignore:
Timestamp:
Jun 24, 2010, 12:55:26 PM (14 years ago)
Author:
Karen Tracey
Comment:

Fixed formatting, please use preview.

This problem is already described in #12475.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13825

    • Property Resolutionduplicate
    • Property Status newclosed
  • Ticket #13825 – Description

    initial v1  
    55Steps to Reproduce Error:
    66
    7 -Set the primary key to display under the admin through the list_display option; along with two other fields
    8 -Set one of the other fields to the list_display_links option
    9 -Set last field to the list_editable option
     7 * Set the primary key to display under the admin through the list_display option; along with two other fields
     8 * Set one of the other fields to the list_display_links option
     9 * Set last field to the list_editable option
    1010
    1111
     
    1313
    1414Models.py
    15 
     15{{{
     16#!python
    1617class Test_Image(models.Model):
    1718    filename = models.CharField(max_length=20, primary_key=True)
     
    1920    sort_order = models.IntegerField()
    2021    last_modified_date = models.DateField(editable=False, auto_now=True)
    21 
     22}}}
    2223
    2324Admin.py
    24 
     25{{{
     26#!python
    2527class TestImageAdmin(admin.ModelAdmin):
    2628    list_display = ('display_name', 'filename', 'sort_order',)
    2729    list_display_links = ('display_name',)
    2830    list_editable = ('sort_order',)
     31}}}
Back to Top