aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/web/bench/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/web/bench/forms.py')
-rw-r--r--qtip/web/bench/forms.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/qtip/web/bench/forms.py b/qtip/web/bench/forms.py
new file mode 100644
index 00000000..d897aca7
--- /dev/null
+++ b/qtip/web/bench/forms.py
@@ -0,0 +1,19 @@
+##############################################################################
+# Copyright (c) 2017 akhil.batra@research.iiit.ac.in and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+from django import forms
+
+import models
+
+
+class TaskForm(forms.ModelForm):
+ class Meta:
+ model = models.Task
+ fields = ['repo']