# -*- coding: utf-8 -*-
from django.contrib import admin
from apps.review.models import Review


class ReviewAdmin(admin.ModelAdmin):
    list_display = ('title', 'author', 'rate', 'created_at')
    list_filter = ['created_at']
    search_fields = ['title']

    def __str__(self):
        return self.title


admin.site.register(Review, ReviewAdmin)

302d307022e0a5e3149461af6238b69a2e9bf58c
<mask token>


class ReviewAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return self.title


<mask token>

<mask token>


class ReviewAdmin(admin.ModelAdmin):
    list_display = 'title', 'author', 'rate', 'created_at'
    list_filter = ['created_at']
    search_fields = ['title']

    def __str__(self):
        return self.title


<mask token>

<mask token>


class ReviewAdmin(admin.ModelAdmin):
    list_display = 'title', 'author', 'rate', 'created_at'
    list_filter = ['created_at']
    search_fields = ['title']

    def __str__(self):
        return self.title


admin.site.register(Review, ReviewAdmin)

from django.contrib import admin
from apps.review.models import Review


class ReviewAdmin(admin.ModelAdmin):
    list_display = 'title', 'author', 'rate', 'created_at'
    list_filter = ['created_at']
    search_fields = ['title']

    def __str__(self):
        return self.title


admin.site.register(Review, ReviewAdmin)

# -*- coding: utf-8 -*-
from django.contrib import admin
from apps.review.models import Review


class ReviewAdmin(admin.ModelAdmin):
    list_display = ('title', 'author', 'rate', 'created_at')
    list_filter = ['created_at']
    search_fields = ['title']

    def __str__(self):
        return self.title


admin.site.register(Review, ReviewAdmin)
