mirror of
https://github.com/correl/codereview.git
synced 2024-12-28 19:19:16 +00:00
11 lines
259 B
Python
11 lines
259 B
Python
from codereview.review.models import *
|
|
from django.contrib import admin
|
|
|
|
class CommentInline(admin.StackedInline):
|
|
model = Comment
|
|
|
|
class ReviewAdmin(admin.ModelAdmin):
|
|
inlines = [
|
|
CommentInline,
|
|
]
|
|
admin.site.register(Review, ReviewAdmin)
|