1b74a9bd378195d13e4dea47c1704232b2ed632e
[laas.git] / src / api / forms.py
1 ##############################################################################
2 # Copyright (c) 2019 Parker Berberian and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #############################################################################
9
10 import django.forms as forms
11
12
13 class DowntimeForm(forms.Form):
14     start = forms.DateTimeField()
15     end = forms.DateTimeField()
16     description = forms.CharField(max_length=1000, required=False)