# Path: jellyblog/models.py
# class Category(models.Model):
# class Document(models.Model):
# class Note(models.Model):
#     def __init__(self, *args, **kwargs):
#     def __str__(self):
#     def sorted_category(cls):
#     def init_category(cls):
#     def __str__(self):
#     def read(self):
#     def get_absolute_url(self):
#     def search_document(cls, query):
#     def __str__(self):
# 
# Path: lifeblog/models.py
# class Document(models.Model):
#     def __str__(self):
#     def read(self):
#     def get_absolute_url(self):
#     def search_document(cls, query):


from django.contrib import admin
from jellyblog import models as jelly_model
from lifeblog import models as life_model



class CategoryAdmin(admin.ModelAdmin):
    list_display = ('name', 'parent')


# 각각 카테고리와 문서 Model을 등록한다.
admin.site.register(jelly_model.Category, CategoryAdmin)

# Path: jellyblog/models.py
# class Category(models.Model):
# class Document(models.Model):
# class Note(models.Model):
#     def __init__(self, *args, **kwargs):
#     def __str__(self):
#     def sorted_category(cls):
#     def init_category(cls):
#     def __str__(self):
#     def read(self):
#     def get_absolute_url(self):
#     def search_document(cls, query):
#     def __str__(self):
# 
# Path: lifeblog/models.py
# class Document(models.Model):
#     def __str__(self):
#     def read(self):
#     def get_absolute_url(self):
#     def search_document(cls, query):


# Path: jellyblog/admin.py
from django.contrib import admin
from jellyblog import models as jelly_model
from lifeblog import models as life_model




class CategoryAdmin(admin.ModelAdmin):
    list_display = ('name', 'parent')


# 각각 카테고리와 문서 Model을 등록한다.
admin.site.register(jelly_model.Category, CategoryAdmin)

admin.site.register(jelly_model.Document)