source: firmaeventos/eventos/views.py @ 8fa24c3

Last change on this file since 8fa24c3 was 8fa24c3, checked in by lhernandez <lhernandez@…>, 6 years ago

Generando templates para registrar eventos

  • Property mode set to 100644
File size: 711 bytes
Line 
1from django.shortcuts import render
2from multi_form_view import MultiModelFormView
3
4from .forms import *
5from participantes.forms import (
6    FormsetParticipanteEvento
7)
8
9class RegisterEvent(MultiModelFormView):
10    """!
11    Muestra el formulario de registro de usuarios
12
13    @author Ing. Leonel P. Hernandez M. (lhernandez at cenditel.gob.ve)
14    @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a>
15    @date 20-11-2017
16    @version 1.0.0
17    """
18    template_name = "register.event.html"
19    form_classes = {
20      'event': EventoForm,
21      'participante': FormsetParticipanteEvento,
22    }
23    #success_url = reverse_lazy('users:home')
24    record_id=None
Note: See TracBrowser for help on using the repository browser.