8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-01 09:02:26 +00:00
re2o/printer/admin.py
2018-12-06 17:57:57 +01:00

33 lines
653 B
Python

# -*- 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)