<s> from django . contrib . auth . models import Group <EOL> from django . db import models <EOL> from djangotoolbox . fields import ListField <EOL> from django . contrib . auth import get_user_model <EOL> User = get_user_model ( ) <EOL> class UserPermissionList ( models . Model ) : <EOL> user = models . ForeignKey ( User ) <EOL> permission_list = ListField ( models . CharField ( max_length = <NUM_LIT:64> ) ) <EOL> permission_fk_list = ListField ( models . CharField ( max_length = <NUM_LIT:32> ) ) <EOL> group_fk_list = ListField ( models . CharField ( max_length = <NUM_LIT:32> ) ) <EOL> class GroupPermissionList ( models . Model ) : <EOL> group = models . ForeignKey ( Group ) <EOL> permission_list = ListField ( models . CharField ( max_length = <NUM_LIT:64> ) ) <EOL> permission_fk_list = ListField ( models . CharField ( max_length = <NUM_LIT:32> ) ) </s>
