Skip to content

Commit

Permalink
Add All Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sinalalebakhsh committed Jul 21, 2024
1 parent 6daddc3 commit 96d4abc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Steps/offline developing Django App.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1019,5 +1019,10 @@ class CommentsInline(admin.TabularInline):
model = Comment
fields = ['author', 'body', 'stars', 'active']

class ProductAdmin(admin.ModelAdmin):
...
inlines = [
CommentsInline,
]


0 comments on commit 96d4abc

Please sign in to comment.