Sapan Bhatia | f7662b0 | 2017-04-27 01:03:04 +0200 | [diff] [blame] | 1 | # The hardcoded entries cannot be inferred from the models. To get rid of in the long run |
| 2 | # |
| 3 | |
Sapan Bhatia | 4e80a26 | 2017-05-19 23:10:51 +0200 | [diff] [blame] | 4 | from .xosbase import XOSBase,XOSBaseManager,XOSBaseDeletionManager,PlModelMixIn,ModelLink |
Sapan Bhatia | 504cc97 | 2017-04-27 01:56:28 +0200 | [diff] [blame] | 5 | from .contenttype import ContentType |
Sapan Bhatia | f7662b0 | 2017-04-27 01:03:04 +0200 | [diff] [blame] | 6 | from .site import Site |
Sapan Bhatia | f7662b0 | 2017-04-27 01:03:04 +0200 | [diff] [blame] | 7 | from .user import User |
Sapan Bhatia | f7662b0 | 2017-04-27 01:03:04 +0200 | [diff] [blame] | 8 | |
| 9 | {% for m in proto.messages -%} |
Sapan Bhatia | d022aeb | 2017-06-07 15:49:55 +0200 | [diff] [blame] | 10 | {% if not m.options.skip_init -%} |
Sapan Bhatia | f7662b0 | 2017-04-27 01:03:04 +0200 | [diff] [blame] | 11 | from .{{ m.name | lower }} import {{ m.name }} |
Sapan Bhatia | 170ae27 | 2017-05-30 19:01:09 +0200 | [diff] [blame] | 12 | {% endif -%} |
Sapan Bhatia | f7662b0 | 2017-04-27 01:03:04 +0200 | [diff] [blame] | 13 | {% endfor -%} |