original_docstring: 
          Register a model as a setting in the Wagtail admin
          
docstring: Register a model as a setting in the Wagtail admin
docstring_tokens: Register a model as a setting in the Wagtail admin
code: def register_decorator(self, model=None, **kwargs):
          """
          Register a model as a setting in the Wagtail admin
          """
          if model is None:
              return lambda model: self.register(model, **kwargs)
          return self.register(model, **kwargs)
code_tokens: def register_decorator ( self , model = None , ** kwargs ) : if model is None : return lambda model : self . register ( model , ** kwargs ) return self . register ( model , ** kwargs )
short_docstring: Register a model as a setting in the Wagtail admin
short_docstring_tokens: Register a model as a setting in the Wagtail admin
comment: """
          Register a model as a setting in the Wagtail admin
          """