Skip to content
Snippets Groups Projects

Setup printer stuff

Merged Jonathan Weth requested to merge feature/printers into main
5 files
+ 66
2
Compare changes
  • Side-by-side
  • Inline
Files
5
# Generated by Django 3.2.12 on 2022-03-19 19:18
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('kort', '0007_auto_20220315_1957'),
]
operations = [
migrations.AddField(
model_name='cardprinter',
name='cups_printer',
field=models.CharField(blank=True, max_length=255, verbose_name='CUPS printer'),
),
migrations.AlterField(
model_name='cardprintjob',
name='printer',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='jobs', to='kort.cardprinter', verbose_name='Printer'),
),
migrations.AlterField(
model_name='cardprintjob',
name='status',
field=models.CharField(choices=[('registered', 'Registered'), ('in_progress', 'In progress'), ('finished', 'Finished'), ('failed', 'Failed')], default='registered', max_length=255, verbose_name='Status'),
),
]
Loading