Answer the question
In order to leave comments, you need to log in
Testing user registration?
Guys, help me understand.
There is a registration of new users, I'm trying to write a test.
what is now:
class UserFormTest(TestCase):
def test_forms(self):
form_data = {'email': '[email protected]'}
form = UserForm(data=form_data)
self.assertTrue(form.is_valid())
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question