Metadata-Version: 1.1
Name: wagtail-publish-preflight
Version: 0.2
Summary: Provides validation for publishing a page witout blocking draft saves
Home-page: https://github.com/cityofaustin/wagtail-publish-preflight
Author: Eric Sherman
Author-email: ericandrewsherman@gmail.com
License: BSD-3-Clause
Description: # Publish Preflight
        
        ## What is this?
        
        Ever wanted to be able to save a draft in wagtail easily, but want lots of required fields for publish?
        Of course you have.
        This plugin creates some custom model validation that allows for drafts to be saved, but prevents publishing.
        
        It is VERY much in it's infancy and really more of a proof of concept.
        
        ## How to use
        
        -   install
        -   add to INSTALLED_APPS
        -   (atm), include static js or css on the templates where you want the overrides to occur (is there a better way to do this?)
        
        ## TODOs:
        
        -   messages are hidden, becuase at the moment it will create a big ol' list of messages which could get ugly
            -   would love to have a nuanced way to add errors to fields but not show errors in messages at the top
            -   setting different kind of error levels would be great too
            -   this would probably involve a custom message protocol, to either replace or enhance the way wagtail handles messages `add_error`
        -   right now we check for any and all empty fields, we want to be able to define which fields to check
            -   Whats a good interface for this? config file? Being able to define on each model similar to `Blank=True` seems best to me
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.1
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django
Classifier: Framework :: Wagtail
Classifier: Framework :: Wagtail :: 1
Classifier: Framework :: Wagtail :: 2
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
