class Meta: widgets = { 'author': AdminHeavySelect2Widget(data_view='profile_select2'), 'parent': AdminHeavySelect2Widget(data_view='comment_select2'), } if HeavyPreviewAdminPageDownWidget is not None: widgets['body'] = HeavyPreviewAdminPageDownWidget( preview=reverse_lazy('comment_preview'))
class Meta: widgets = { 'author': AdminHeavySelect2Widget(data_view='profile_select2'), 'parent': AdminHeavySelect2Widget(data_view='comment_select2'), 'body': AdminMartorWidget( attrs={'data-markdownfy-url': reverse_lazy('comment_preview') }), }
class Meta: widgets = { 'authors': AdminHeavySelect2MultipleWidget(data_view='profile_select2', attrs={'style': 'width: 100%'}), 'problem': AdminHeavySelect2Widget(data_view='problem_select2', attrs={'style': 'width: 250px'}), } if HeavyPreviewAdminPageDownWidget is not None: widgets['content'] = HeavyPreviewAdminPageDownWidget(preview=reverse_lazy('solution_preview'))
class Meta: widgets = { 'admins': AdminHeavySelect2MultipleWidget(data_view='profile_select2'), 'registrant': AdminHeavySelect2Widget(data_view='profile_select2'), } if HeavyPreviewAdminPageDownWidget is not None: widgets['about'] = HeavyPreviewAdminPageDownWidget( preview=reverse_lazy('organization_preview'))
class Meta: widgets = { 'user': AdminHeavySelect2Widget(data_view='profile_select2', attrs={'style': 'width: 100%'}), 'assignees': AdminHeavySelect2MultipleWidget(data_view='profile_select2', attrs={'style': 'width: 100%'}), }
class Meta: widgets = { 'user': AdminHeavySelect2Widget(data_view='profile_select2', attrs={'style': 'width: 100%'}), } if HeavyPreviewAdminPageDownWidget is not None: widgets['body'] = HeavyPreviewAdminPageDownWidget( preview=reverse_lazy('ticket_preview'))
class Meta: widgets = { 'user': AdminHeavySelect2Widget(data_view='profile_select2', attrs={'style': 'width: 100%'}), 'body': AdminMartorWidget( attrs={'data-markdownfy-url': reverse_lazy('ticket_preview')}), }
class Meta: widgets = { 'admins': AdminHeavySelect2MultipleWidget(data_view='profile_select2'), 'registrant': AdminHeavySelect2Widget(data_view='profile_select2'), 'about': AdminMartorWidget( attrs={ 'data-markdownfy-url': reverse_lazy('organization_preview') }), }
class Meta: widgets = { 'authors': AdminHeavySelect2MultipleWidget(data_view='profile_select2', attrs={'style': 'width: 100%'}), 'problem': AdminHeavySelect2Widget(data_view='problem_select2', attrs={'style': 'width: 250px'}), 'content': AdminMartorWidget( attrs={ 'data-markdownfy-url': reverse_lazy('solution_preview') }), }
class Meta: widgets = { 'problem': AdminHeavySelect2Widget(data_view='problem_select2') }
class Meta: widgets = { 'contest': AdminSelect2Widget(), 'user': AdminHeavySelect2Widget(data_view='profile_select2'), }