# -*- coding: utf-8 -*-
from django import forms
from django.forms import ModelForm


class SignupForm(forms.Form):
	first_name = forms.CharField(max_length=30, label='First Name')
	last_name = forms.CharField(max_length=30, label='Last Name')

	def signup(self, request, user):
		user.first_name = self.cleaned_data['first_name']
		user.last_name = self.cleaned_data['last_name']
		user.save()
# -*- coding: utf-8 -*-
from django import forms
from django.forms import ModelForm


class SignupForm(forms.Form):
	first_name = forms.CharField(max_length=30, label='First Name')
	last_name = forms.CharField(max_length=30, label='Last Name')

	def signup(self, request, user):
		user.first_name = self.cleaned_data['first_name']
		user.last_name = self.cleaned_data['last_name']
		user.save()
# -*- coding: utf-8 -*-