# Path: demo/demo/models.py
# class Article(models.Model):
# 
#     title = models.CharField('Title', max_length=200, blank=False)
#     date_created = models.DateTimeField('Created', auto_created=True)
#     contents = models.TextField('Contents')
# 
#     def __str__(self):
#         return self.title


from django.contrib import admin
from .models import Article
    from sitetree.admin import TreeItemAdmin, TreeAdmin, override_tree_admin, override_item_admin
# -*- coding: utf-8 -*-
from __future__ import unicode_literals




admin.site.register(Article)


customized_sitetree_admin = False

if customized_sitetree_admin:


    class CustomTreeItemAdmin(TreeItemAdmin):

        fieldsets = None


    class CustomTreeAdmin(TreeAdmin):

        exclude = ('title',)


# Path: demo/demo/models.py
# class Article(models.Model):
# 
#     title = models.CharField('Title', max_length=200, blank=False)
#     date_created = models.DateTimeField('Created', auto_created=True)
#     contents = models.TextField('Contents')
# 
#     def __str__(self):
#         return self.title


# Path: demo/demo/admin.py
from django.contrib import admin
from .models import Article
    from sitetree.admin import TreeItemAdmin, TreeAdmin, override_tree_admin, override_item_admin

# -*- coding: utf-8 -*-
from __future__ import unicode_literals




admin.site.register(Article)


customized_sitetree_admin = False

if customized_sitetree_admin:


    class CustomTreeItemAdmin(TreeItemAdmin):

        fieldsets = None


    class CustomTreeAdmin(TreeAdmin):

        exclude = ('title',)


    override_item_admin(CustomTreeItemAdmin)