8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

[Printer] add admin.py

This commit is contained in:
Maxime Bombar 2018-11-17 13:59:34 +01:00 committed by root
parent c347feb3a6
commit 490b26006b

33
printer/admin.py Normal file
View file

@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
"""printer.admin
The objects, fields and datastructures visible in the Django admin view
"""
from __future__ import unicode_literals
from django.contrib import admin
from reversion.admin import VersionAdmin
from .models import Digicode, PrintOperation, JobWithOptions
class DigicodeAdmin(VersionAdmin):
"""
"""
pass
class PrintOperationAdmin(VersionAdmin):
"""
"""
pass
class JobWithOptionsAdmin(VersionAdmin):
"""
"""
pass
admin.site.register(Digicode, DigicodeAdmin)
admin.site.register(PrintOperation, PrintOperationAdmin)
admin.site.register(JobWithOptions, JobWithOptionsAdmin)