from django import forms

from django.contrib.auth.models import User

from django.contrib.auth.forms import UserCreationForm

from.models import Items



class UserRegisterForm(UserCreationForm):
	class Meta:
		model = User

		fields=['first_name','last_name','email','username','password1','password2']



class ItemForm(forms.ModelForm):
	class Meta:
		model=Items

		fields=['name','cost','model']