# Path: example/models.py
# class Post(models.Model):
#     title = models.CharField(max_length=100)
#     body = models.TextField(blank=True)
#     created = models.DateTimeField(auto_now_add=True)
# 
#     def __str__(self):
#         return self.title
# 
#     def get_absolute_url(self):
#         return reverse('post_detail', args=[str(self.id)])


from django.contrib import admin
from .models import Post
# -*- coding: utf-8 -*-

from __future__ import unicode_literals




class PostAdmin(admin.ModelAdmin):
    pass



# Path: example/models.py
# class Post(models.Model):
#     title = models.CharField(max_length=100)
#     body = models.TextField(blank=True)
#     created = models.DateTimeField(auto_now_add=True)
# 
#     def __str__(self):
#         return self.title
# 
#     def get_absolute_url(self):
#         return reverse('post_detail', args=[str(self.id)])


# Path: example/admin.py
from django.contrib import admin
from .models import Post

# -*- coding: utf-8 -*-

from __future__ import unicode_literals




class PostAdmin(admin.ModelAdmin):
    pass



admin.site.register(Post, PostAdmin)