Show
Ignore:
Timestamp:
03/02/08 19:47:45 (10 months ago)
Author:
nobu
Message:

fixed #17 コメントのカウント数を一覧に表示

  • これに伴ってDBの構造も変更。
  • Comment, TrackBackにpre_deleteのフックを追加。
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/blog/forms.py

    r33 r55  
    3535    class Meta: 
    3636        model = Comment 
    37         exclude = ('entry', 'is_active') 
     37        fields = ('name', 'email', 'url', 'description') 
    3838 
    3939 
     
    4545    class Meta: 
    4646        model = TrackBack 
    47         exclude = ('is_active',
     47        fields = ('entry', 'blog_name', 'title', 'url', 'excerpt'
    4848     
    4949    def clean(self):