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

16

17

18

19

20

21

22

23

24

25

26

27

28

29

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

# Copyright 2011-2015 Luc Saffre 

# License: BSD (see file COPYING for details) 

 

""" 

Database models for `lino.modlib.vocbook`. 

 

.. autosummary:: 

 

Work in progress. 

 

See :srcref:`docs/tickets/92`. 

 

""" 

 

import datetime 

 

from django.conf import settings 

from django.db import models 

from django.utils.translation import ugettext_lazy as _ 

from django.contrib.contenttypes.models import ContentType 

from django.utils.encoding import force_text 

 

from lino import mixins 

from lino.api import dd, rt 

#~ from lino.core import reports 

from lino.core import actions 

from lino.utils import dblogger 

from lino.core.utils import resolve_model