Thanks,

I have tried this, and have also tried specifying the id column 
explicitly as a "models.AutoField(primary_key=True)" type, but neither 
seems to work.

CL

Julio Nobrega wrote:

>  Add "id" to your list_display on your model's Admin class, like this:
>
>class Admin:
>    list_display = ('id', 'some_field', 'other_field')
>
>  On change pages, no idea how it's done....
>
>On 7/27/06, CL <[EMAIL PROTECTED]> wrote:
>  
>
>>Hello,
>>
>>Does anyone know of an easy way to have the auto generated id field
>>displayed in the Admin feature?
>>
>>Thanks,
>>
>>CL
>>    
>>
>
>
>  
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to