19 lines
684 B
Python
Executable File
19 lines
684 B
Python
Executable File
from django.contrib import admin
|
|
|
|
from . import models
|
|
|
|
|
|
class MNFScriptDatabaseDatabaseadmin(admin.ModelAdmin):
|
|
list_display = ("id", "user_id", "script_title", "date_at")
|
|
|
|
class ScriptTranslationsDatabaseadmin(admin.ModelAdmin):
|
|
list_display = ("translation_id", "user_id", "status", "date_translated", "error_desc")
|
|
|
|
|
|
# Register your models here.
|
|
admin.site.register(models.centralDatabase)
|
|
admin.site.register(models.NonAuthenticatedRefer)
|
|
admin.site.register(models.Refer)
|
|
admin.site.register(models.MNFScriptDatabase, MNFScriptDatabaseDatabaseadmin)
|
|
admin.site.register(models.ScriptTranslations, ScriptTranslationsDatabaseadmin)
|
|
admin.site.register(models.SampleScript) |