Source

adalberto13 / adalberto13 / apps / participar / views.py

Full commit
1
2
3
4
5
6
7
8
9
# -*- coding: utf-8 -*-
from django.views.generic.edit import CreateView
from adalberto13.apps.participar.models import Participar


class ParticiparView(CreateView):
    model = Participar
    template_name = 'base.html'
    success_url = '/?sucesso=sim'