Kaydet (Commit) 9704c49d authored tarafından Tim Graham's avatar Tim Graham

Fixed #21304 -- Typo in docs/topics/testing/advanced.txt

Thanks joao at silvaneves.org for the report.
üst 5240b834
......@@ -45,7 +45,7 @@ The following is a simple unit test using the request factory::
# Every test needs access to the request factory.
self.factory = RequestFactory()
self.user = User.objects.create_user(
first_name='jacob', email='jacob@…', password='top_secret')
username='jacob', email='jacob@…', password='top_secret')
def test_details(self):
# Create an instance of a GET request.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment