mirror of
https://github.com/Balshgit/public.git
synced 2025-09-11 18:00:42 +03:00
9 lines
210 B
Python
9 lines
210 B
Python
from django.contrib import admin
|
|
|
|
from server.apps.main.models import BlogPost
|
|
|
|
|
|
@admin.register(BlogPost)
|
|
class BlogPostAdmin(admin.ModelAdmin[BlogPost]):
|
|
"""Admin panel example for ``BlogPost`` model."""
|