Register VMPricing with admin site
This commit is contained in:
parent
40b984be15
commit
d296ce72cb
1 changed files with 2 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from cms.admin.placeholderadmin import PlaceholderAdminMixin
|
from cms.admin.placeholderadmin import PlaceholderAdminMixin
|
||||||
from .cms_models import CMSIntegration
|
from .cms_models import CMSIntegration
|
||||||
|
from .models import VMPricing
|
||||||
|
|
||||||
|
|
||||||
class CMSIntegrationAdmin(PlaceholderAdminMixin, admin.ModelAdmin):
|
class CMSIntegrationAdmin(PlaceholderAdminMixin, admin.ModelAdmin):
|
||||||
list_display = ('name', 'domain')
|
list_display = ('name', 'domain')
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(CMSIntegration, CMSIntegrationAdmin)
|
admin.site.register(CMSIntegration, CMSIntegrationAdmin)
|
||||||
|
admin.site.register(VMPricing)
|
||||||
|
|
Loading…
Reference in a new issue