from django.contrib import admin

# Register your models here.
from django.contrib import admin
from .models import Profile, Tag, Post, Follow, Comment, Like


class PostAdmin(admin.ModelAdmin):

    filter_horizontal = ('tags',)

admin.site.register(Profile)
admin.site.register(Tag)
admin.site.register(Post,PostAdmin)
admin.site.register(Follow)
admin.site.register(Comment)
admin.site.register(Like)

from django.contrib import admin

# Register your models here.
from django.contrib import admin
from .models import Profile, Tag, Post, Follow, Comment, Like


class PostAdmin(admin.ModelAdmin):

    filter_horizontal = ('tags',)

admin.site.register(Profile)
admin.site.register(Tag)
admin.site.register(Post,PostAdmin)
admin.site.register(Follow)
admin.site.register(Comment)
admin.site.register(Like)

# Register your models here.