This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
# Builders | |
############################## | |
def build_PlainSpeech(body): | |
speech = {} | |
speech['type'] = 'PlainText' | |
speech['text'] = body | |
return speech |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.views.generic.edit import FormView | |
from django.views.generic.base import RedirectView | |
from registration.models import RegistrationProfile | |
from forms import RegistrationForm | |
class AccountRegistrationView(FormView): | |
template_name = 'authentication/registration_form.html' | |
form_class = RegistrationForm |