mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-25 16:33:47 +00:00
Login is required to use the printer
This commit is contained in:
parent
7b09c93d09
commit
e249d5b233
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
# -*- mode: python; coding: utf-8 -*-
|
||||
|
||||
"""printer.views
|
||||
The views for the printer app
|
||||
Author : Maxime Bombar <bombar@crans.org>.
|
||||
|
@ -11,6 +10,7 @@ from __future__ import unicode_literals
|
|||
from django.urls import reverse
|
||||
from django.shortcuts import render, redirect
|
||||
from django.forms import modelformset_factory, formset_factory
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
from re2o.views import form
|
||||
from users.models import User
|
||||
|
@ -21,7 +21,7 @@ from .forms import (
|
|||
JobWithOptionsForm,
|
||||
)
|
||||
|
||||
|
||||
@login_required
|
||||
def new_job(request):
|
||||
"""
|
||||
View to create a new printing job
|
||||
|
|
Loading…
Reference in a new issue