Skip to content

Commit

Permalink
Make the creation date updatable
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault committed May 22, 2023
1 parent 6f070ac commit debae79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions envergo/pages/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
class NewsItemAdmin(admin.ModelAdmin):
list_display = ["title", "created_at"]
search_fields = ["title", "content_md"]
fields = ["title", "content_md"]
readonly_fields = ["created_at"]
fields = ["title", "content_md", "created_at"]

0 comments on commit debae79

Please sign in to comment.