Skip to content

Commit

Permalink
fixup! add models, admin, factories, admin and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 23, 2024
1 parent 69ebc37 commit 21e2107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lacommunaute/documentation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class DocumentAdmin(admin.ModelAdmin):

@admin.register(DocumentRating)
class DocumentRatingAdmin(admin.ModelAdmin):
list_display = ("document", "rating", "created_at")
list_display = ("document", "rating", "created")
list_filter = ("document",)
list_display_links = ("rating",)
raw_id_fields = ("document", "user")

0 comments on commit 21e2107

Please sign in to comment.