from django.contrib import admin

from .models.article import Article, Comment
from .models.asset import UserStock, UserRealty, UserCash
from .models.info import Market, StockInfo, StockPrice
from .models.portfolio import Portfolio


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    model = Article
    # list_dislay: List 를 정의해 보여질 필드를 정할 수 있음


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    model = Comment


@admin.register(UserStock)
class UserStockAdmin(admin.ModelAdmin):
    model = UserStock


@admin.register(UserRealty)
class UserRealtyAdmin(admin.ModelAdmin):
    model = UserRealty


@admin.register(UserCash)
class UserCashAdmin(admin.ModelAdmin):
    model = UserCash


@admin.register(Market)
class MarketAdmin(admin.ModelAdmin):
    model = Market


@admin.register(StockPrice)
class StockPriceAdmin(admin.ModelAdmin):
    model = StockPrice


@admin.register(StockInfo)
class StockInfoAdmin(admin.ModelAdmin):
    model = StockInfo


@admin.register(Portfolio)
class PortfolioAdmin(admin.ModelAdmin):
    model = Portfolio

8021b69716868d2d0c1f266b757376624c2ff9e8
<mask token>


@admin.register(UserRealty)
class UserRealtyAdmin(admin.ModelAdmin):
    <mask token>


@admin.register(UserCash)
class UserCashAdmin(admin.ModelAdmin):
    model = UserCash


@admin.register(Market)
class MarketAdmin(admin.ModelAdmin):
    model = Market


@admin.register(StockPrice)
class StockPriceAdmin(admin.ModelAdmin):
    model = StockPrice


@admin.register(StockInfo)
class StockInfoAdmin(admin.ModelAdmin):
    model = StockInfo


@admin.register(Portfolio)
class PortfolioAdmin(admin.ModelAdmin):
    model = Portfolio

<mask token>


@admin.register(UserStock)
class UserStockAdmin(admin.ModelAdmin):
    <mask token>


@admin.register(UserRealty)
class UserRealtyAdmin(admin.ModelAdmin):
    model = UserRealty


@admin.register(UserCash)
class UserCashAdmin(admin.ModelAdmin):
    model = UserCash


@admin.register(Market)
class MarketAdmin(admin.ModelAdmin):
    model = Market


@admin.register(StockPrice)
class StockPriceAdmin(admin.ModelAdmin):
    model = StockPrice


@admin.register(StockInfo)
class StockInfoAdmin(admin.ModelAdmin):
    model = StockInfo


@admin.register(Portfolio)
class PortfolioAdmin(admin.ModelAdmin):
    model = Portfolio

<mask token>


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    <mask token>


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    model = Comment


@admin.register(UserStock)
class UserStockAdmin(admin.ModelAdmin):
    model = UserStock


@admin.register(UserRealty)
class UserRealtyAdmin(admin.ModelAdmin):
    model = UserRealty


@admin.register(UserCash)
class UserCashAdmin(admin.ModelAdmin):
    model = UserCash


@admin.register(Market)
class MarketAdmin(admin.ModelAdmin):
    model = Market


@admin.register(StockPrice)
class StockPriceAdmin(admin.ModelAdmin):
    model = StockPrice


@admin.register(StockInfo)
class StockInfoAdmin(admin.ModelAdmin):
    model = StockInfo


@admin.register(Portfolio)
class PortfolioAdmin(admin.ModelAdmin):
    model = Portfolio

<mask token>


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    model = Article


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    model = Comment


@admin.register(UserStock)
class UserStockAdmin(admin.ModelAdmin):
    model = UserStock


@admin.register(UserRealty)
class UserRealtyAdmin(admin.ModelAdmin):
    model = UserRealty


@admin.register(UserCash)
class UserCashAdmin(admin.ModelAdmin):
    model = UserCash


@admin.register(Market)
class MarketAdmin(admin.ModelAdmin):
    model = Market


@admin.register(StockPrice)
class StockPriceAdmin(admin.ModelAdmin):
    model = StockPrice


@admin.register(StockInfo)
class StockInfoAdmin(admin.ModelAdmin):
    model = StockInfo


@admin.register(Portfolio)
class PortfolioAdmin(admin.ModelAdmin):
    model = Portfolio

from django.contrib import admin

from .models.article import Article, Comment
from .models.asset import UserStock, UserRealty, UserCash
from .models.info import Market, StockInfo, StockPrice
from .models.portfolio import Portfolio


@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    model = Article
    # list_dislay: List 를 정의해 보여질 필드를 정할 수 있음


@admin.register(Comment)
class CommentAdmin(admin.ModelAdmin):
    model = Comment


@admin.register(UserStock)
class UserStockAdmin(admin.ModelAdmin):
    model = UserStock


@admin.register(UserRealty)
class UserRealtyAdmin(admin.ModelAdmin):
    model = UserRealty


@admin.register(UserCash)
class UserCashAdmin(admin.ModelAdmin):
    model = UserCash


@admin.register(Market)
class MarketAdmin(admin.ModelAdmin):
    model = Market


@admin.register(StockPrice)
class StockPriceAdmin(admin.ModelAdmin):
    model = StockPrice


@admin.register(StockInfo)
class StockInfoAdmin(admin.ModelAdmin):
    model = StockInfo


@admin.register(Portfolio)
class PortfolioAdmin(admin.ModelAdmin):
    model = Portfolio
