Commit 0998b624 by christopher lee Committed by Christopher Lee

Clean up unused SubjectTranslation fields

parent 9f0899a3
......@@ -224,7 +224,6 @@ class OrganizationAdmin(admin.ModelAdmin):
@admin.register(Subject)
class SubjectAdmin(TranslatableAdmin):
exclude = ('name_t', 'subtitle_t', 'description_t') # TODO Remove in the clean up phase LEARNER-2617
list_display = ('uuid', 'name', 'slug',)
list_filter = ('partner',)
readonly_fields = ('uuid',)
......
......@@ -146,10 +146,6 @@ class SubjectTranslation(TranslatedFieldsModel):
subtitle = models.CharField(max_length=255, blank=True, null=True)
description = models.TextField(blank=True, null=True)
name_t = models.CharField(max_length=255, blank=False, null=False)
subtitle_t = models.CharField(max_length=255, blank=True, null=True)
description_t = models.TextField(blank=True, null=True)
class Meta:
unique_together = ('language_code', 'master')
verbose_name = _('Subject model translations')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment