diff --git a/articles/admin.py b/articles/admin.py index de3b5e7..df3b844 100644 --- a/articles/admin.py +++ b/articles/admin.py @@ -36,7 +36,6 @@ class ArticleAdmin(admin.ModelAdmin): ("created_at", "updated_at"), "views_count", "has_code", - "draft_public_url", ] }, ), @@ -58,7 +57,6 @@ class ArticleAdmin(admin.ModelAdmin): "views_count", "status", "published_at", - "draft_public_url", ] prepopulated_fields = {"slug": ("title",)} change_form_template = "articles/article_change_form.html" diff --git a/articles/templates/articles/article_change_form.html b/articles/templates/articles/article_change_form.html index aa62019..cb32e15 100644 --- a/articles/templates/articles/article_change_form.html +++ b/articles/templates/articles/article_change_form.html @@ -1,6 +1,7 @@ {% extends 'admin/change_form.html' %} {% block object-tools-items %} +
  • Public draft
  • Markdown cheat sheet
  • {{ block.super }} {% endblock %}