Reorganize code.
[audio.git] / src / archive / constants.py
diff --git a/src/archive/constants.py b/src/archive/constants.py
new file mode 100644 (file)
index 0000000..17f4e78
--- /dev/null
@@ -0,0 +1,14 @@
+from django.utils.translation import ugettext_lazy as _
+
+class status:
+    WAITING = 1
+    ENCODING = 2
+    TAGGING = 3
+    SENDING = 4
+
+    choices = [
+        (WAITING, _('Waiting')),
+        (ENCODING, _('Encoding')),
+        (TAGGING, _('Tagging')),
+        (SENDING, _('Sending')),
+    ]