<s> from __future__ import unicode_literals <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> from djangobmf . sites import Module <EOL> from djangobmf . sites import ViewMixin <EOL> from djangobmf . sites import register <EOL> from . categories import TeamCategory <EOL> from . models import Team <EOL> from . models import TeamMember <EOL> from . views import TeamCreateView <EOL> from . views import TeamUpdateView <EOL> @ register <EOL> class TeamModule ( Module ) : <EOL> model = Team <EOL> default = True <EOL> create = TeamCreateView <EOL> update = TeamUpdateView <EOL> @ register <EOL> class TeamMemberModule ( Module ) : <EOL> model = TeamMember <EOL> default = True <EOL> @ register ( category = TeamCategory ) <EOL> class AllTeams ( ViewMixin ) : <EOL> model = Team <EOL> name = _ ( "<STR_LIT>" ) <EOL> slug = "<STR_LIT:all>" </s>
