Merge branch 'master' of ssh://hammerboy/home/lincoln/pessoal/eventmanager
[cascardo/eventmanager.git] / forms.py
index 1d2c3c2..cf89425 100644 (file)
--- a/forms.py
+++ b/forms.py
@@ -1,4 +1,4 @@
-# -*- coding: utf8; -*-
+# -*- coding: utf-8; -*-
 """
 Copyright (C) 2007 Lincoln de Sousa <lincoln@archlinux-br.org>
 
@@ -28,9 +28,6 @@ class SubmeterTrabalho(forms.Form):
     def __init__(self, *args, **kwargs):
         super(SubmeterTrabalho, self).__init__(*args, **kwargs)
 
-        newchoices = MKCHOICES(CategoriaTrabalho)
-        self.fields['categoria'].choices = newchoices
-
         newchoices = MKCHOICES(TipoTrabalho)
         self.fields['tipo'].choices = newchoices
 
@@ -39,7 +36,6 @@ class SubmeterTrabalho(forms.Form):
 
     titulo = forms.CharField(max_length=100, label='Título do trabalho')
     tipo = forms.ChoiceField()
-    categoria = forms.ChoiceField()
     descricao_curta = forms.CharField(widget=Textarea(),
         label='Descrição curta', max_length=250,
         help_text='Esta descrição será utilizada para exibição no '