34 lines
1005 B
Python
34 lines
1005 B
Python
from django.contrib import admin
|
|
|
|
# Register your models here.
|
|
from dashboard.models import Userprofile, Organization, Group, Level, Organizationtype, Group_type, Weixin_data
|
|
|
|
|
|
class UserProfileAdmin(admin.ModelAdmin):
|
|
list_display = ('id',)
|
|
|
|
|
|
admin.site.register(Userprofile,UserProfileAdmin)
|
|
|
|
class OrganizationAdmin(admin.ModelAdmin):
|
|
list_display = ('id',)
|
|
|
|
|
|
admin.site.register(Organization,OrganizationAdmin)
|
|
class GroupAdmin(admin.ModelAdmin):
|
|
list_display = ('id',)
|
|
admin.site.register(Group,GroupAdmin)
|
|
|
|
class LevelAdmin(admin.ModelAdmin):
|
|
list_display = ('id',)
|
|
admin.site.register(Level,LevelAdmin)
|
|
class OrganizationtypeAdmin(admin.ModelAdmin):
|
|
list_display = ('id',)
|
|
admin.site.register(Organizationtype,OrganizationtypeAdmin)
|
|
class Group_typeAdmin(admin.ModelAdmin):
|
|
list_display = ('id',)
|
|
admin.site.register(Group_type,Group_typeAdmin)
|
|
class Weixin_data_typeAdmin(admin.ModelAdmin):
|
|
list_display = ('id',)
|
|
admin.site.register(Weixin_data,Weixin_data_typeAdmin)
|