#encoding:utf-8
from django.forms import ModelForm
from django import forms
from evento.models import evento
from django.forms.extras.widgets import SelectDateWidget
from models import espacio
from django.db import models


class eventoForm(forms.Form):
	nombre = forms.CharField(widget=forms.TextInput())
	hora_inicio = forms.TimeField(widget=forms.TextInput())
	hora_fin = forms.TimeField(widget=forms.TextInput())
	fecha = forms.DateField(widget=forms.TextInput())	
	tipo = forms.CharField(widget=forms.TextInput())
	lugar = forms.ModelChoiceField(queryset=espacio.objects.all())