from django.contrib import admin
from .models import Price, News


class PriceAdmin(admin.ModelAdmin):
    list_display = ('name', 'cost')


admin.site.register(Price, PriceAdmin)


class NewsAdmin(admin.ModelAdmin):
    list_display = ('title', 'content', 'image', 'link')


admin.site.register(News, NewsAdmin)

0e62c0e00cc5a45d9e35dc75b7bfbd3d48c214f8
<mask token>


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


<mask token>

<mask token>


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


<mask token>


class NewsAdmin(admin.ModelAdmin):
    list_display = 'title', 'content', 'image', 'link'


<mask token>

<mask token>


class PriceAdmin(admin.ModelAdmin):
    list_display = 'name', 'cost'


<mask token>


class NewsAdmin(admin.ModelAdmin):
    list_display = 'title', 'content', 'image', 'link'


<mask token>

from django.contrib import admin
from .models import Price, News


class PriceAdmin(admin.ModelAdmin):
    list_display = 'name', 'cost'


admin.site.register(Price, PriceAdmin)


class NewsAdmin(admin.ModelAdmin):
    list_display = 'title', 'content', 'image', 'link'


admin.site.register(News, NewsAdmin)

from django.contrib import admin
from .models import Price, News


class PriceAdmin(admin.ModelAdmin):
    list_display = ('name', 'cost')


admin.site.register(Price, PriceAdmin)


class NewsAdmin(admin.ModelAdmin):
    list_display = ('title', 'content', 'image', 'link')


admin.site.register(News, NewsAdmin)
