old_contents: #!/usr/bin/env python
  # coding=utf8
  __author__ = 'ldath'
  
  configuration = {
      'list': {
          'display': [
              {'name': 'id', 'label': 'Id'},
              {'name': 'username', 'label': 'Username'},
              {'name': 'email', 'label': 'E-mail'}
          ],
          'actions': [
              {'name': 'new', 'label': 'New'}
          ],
          'batch_actions': [
              {'name': 'delete'}
          ],
          'object_actions': [
              {'name': 'edit'},
              {'name': 'delete'}
          ]
      }
  }
  
new_contents: #!/usr/bin/env python
  # coding=utf8
  __author__ = 'ldath'
  from flask_lwadmin.config import ConfigParser
  
  
  configuration = {
      'list': {
          'display': [
              {'key': 'id', 'label': 'Id'},
              {'key': 'username', 'label': 'Username'},
              {'key': 'email', 'label': 'E-mail'}
          ],
          'actions': [
              {
                  'key': 'new',
                  'label': 'New',
                  'url': 'user.user_create',
                  'type': ConfigParser.URL_INTERNAL
              }
          ],
          'batch_actions': [
              {'key': 'delete'}
          ],
          'object_actions': [
              {'key': 'edit'},
              {'key': 'delete'}
          ]
      }
  }
  
subject: work on generators