Skip to content

Commit

Permalink
Allow admins to set the path for new simple pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rstorey committed Mar 29, 2019
1 parent dd8ccaf commit 2e6e6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concordia/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def truncated_text(self, obj):
@admin.register(SimplePage)
class SimplePageAdmin(admin.ModelAdmin):
list_display = ("path", "title", "created_on", "updated_on")
readonly_fields = ("path", "created_on", "updated_on")
readonly_fields = ("created_on", "updated_on")

fieldsets = (
(None, {"fields": ("created_on", "updated_on", "path", "title")}),
Expand Down

0 comments on commit 2e6e6cb

Please sign in to comment.