mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Disinherit Page from Static so default draft status does not affect save_as
This commit is contained in:
parent
940d4534a1
commit
70b8ededa6
2 changed files with 20 additions and 1 deletions
|
|
@ -527,7 +527,11 @@ class Article(Content):
|
|||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Static(Page):
|
||||
class Static(Content):
|
||||
mandatory_properties = ('title',)
|
||||
default_status = 'published'
|
||||
default_template = None
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(Static, self).__init__(*args, **kwargs)
|
||||
self._output_location_referenced = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue