2019-08-02 12:57:53 +00:00
|
|
|
# -*- mode: python; coding: utf-8 -*-
|
|
|
|
# Copyright (C) 2017-2019 by BDE ENS Paris-Saclay
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
from django.forms import ModelForm
|
|
|
|
|
2019-08-09 20:26:32 +00:00
|
|
|
from .models import Emprunt
|
2017-07-03 23:47:22 +00:00
|
|
|
|
2019-08-02 12:57:53 +00:00
|
|
|
|
2017-06-30 01:25:07 +00:00
|
|
|
class EmpruntForm(ModelForm):
|
|
|
|
class Meta:
|
|
|
|
model = Emprunt
|
|
|
|
fields = ['media']
|