fixed vue cli pwa version and admin comment search

This commit is contained in:
vabene1111
2022-03-28 22:56:45 +02:00
parent a0610ac05f
commit 7bed9963ff
3 changed files with 86 additions and 11955 deletions

View File

@ -237,7 +237,7 @@ admin.site.register(Ingredient, IngredientAdmin)
class CommentAdmin(admin.ModelAdmin):
list_display = ('recipe', 'name', 'created_at')
search_fields = ('text', 'user__username')
search_fields = ('text', 'created_by__username')
date_hierarchy = 'created_at'
@staticmethod