Great! Changing the list_display to 'post' and changing the return
value of Post's __unicode__ worked perfectly. Thanks for your help!
On Oct 17, 4:16 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 17, 2008 at 3:21 PM, Ty <[EMAIL PROTECTED]> wrote:
>
> > # admin.py:
> > from
On Fri, Oct 17, 2008 at 3:21 PM, Ty <[EMAIL PROTECTED]> wrote:
>
> # admin.py:
> from django.contrib import admin
> from clydefrog.blog.models import Post, Comment
>
> class PostAdmin(admin.ModelAdmin):
>list_display = ('name', 'slug', 'date', 'is_published',)
>list_filter =
# admin.py:
from django.contrib import admin
from clydefrog.blog.models import Post, Comment
class PostAdmin(admin.ModelAdmin):
list_display = ('name', 'slug', 'date', 'is_published',)
list_filter = ('is_published',)
ordering = ('is_published', '-date', 'name',)
3 matches
Mail list logo