Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

# -*- coding: UTF-8 -*- 

# Copyright 2011-2015 Luc Saffre 

# License: BSD (see file COPYING for details) 

 

from lino.utils.instantiator import Instantiator 

 

from lino.api import rt 

 

 

def objects(): 

    HelpText = rt.modules.gfks.HelpText 

    ContentType = rt.modules.contenttypes.ContentType 

    HT = Instantiator(HelpText, "content_type field help_text").build 

    yield HT(ContentType.objects.get_for_model(HelpText), 

             'field', "The name of the field.")