from django.contrib import admin

from geotrek.feedback import models as feedback_models

from modeltranslation.admin import TranslationAdmin


admin.site.register(feedback_models.ReportCategory, TranslationAdmin)
admin.site.register(feedback_models.ReportStatus)

@@ -25,16 +25,49 @@
 rt admin
+%0Afrom django.conf import settings
 %0A%0Afrom g
@@ -120,54 +120,154 @@
 ls%0A%0A
-from modeltranslation.admin import Translation
+if 'modeltranslation' in settings.INSTALLED_APPS:%0A    from modeltranslation.admin import TranslationAdmin%0Aelse:%0A    TranslationAdmin = admin.Model
 Admi

fix modeltranslation admin feedback