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

34 lines
653 B
Python
Raw Normal View History

2018-11-17 12:59:34 +00:00
# -*- 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)