27 lines
965 B
Python
27 lines
965 B
Python
|
from django.contrib import admin
|
||
|
|
||
|
from django_coreprotect.models import CoArtMap, CoBlock, CoBlockdataMap, CoChat, CoCommand, CoContainer, CoDatabaseLock, \
|
||
|
CoEntity, CoEntityMap, CoMaterialMap, CoSession, CoSign, CoSkull, CoUser, CoUsernameLog, CoVersion, CoWorld
|
||
|
|
||
|
try:
|
||
|
pass
|
||
|
# admin.site.register(CoArtMap)
|
||
|
# admin.site.register(CoBlock)
|
||
|
# admin.site.register(CoBlockdataMap)
|
||
|
# admin.site.register(CoChat)
|
||
|
# admin.site.register(CoCommand)
|
||
|
# admin.site.register(CoContainer)
|
||
|
# admin.site.register(CoDatabaseLock)
|
||
|
# admin.site.register(CoEntity)
|
||
|
# admin.site.register(CoEntityMap)
|
||
|
# admin.site.register(CoMaterialMap)
|
||
|
# admin.site.register(CoSession)
|
||
|
# admin.site.register(CoSign)
|
||
|
# admin.site.register(CoSkull)
|
||
|
# admin.site.register(CoUser)
|
||
|
# admin.site.register(CoUsernameLog)
|
||
|
# admin.site.register(CoVersion)
|
||
|
# admin.site.register(CoWorld)
|
||
|
except admin.sites.AlreadyRegistered:
|
||
|
pass
|