Luke Plant avatar Luke Plant committed 0440ebd

Fixed some incorrect method signatures in docs.

Comments (0)

Files changed (1)

docs/djangofaker.rst

    ``faker.Faker`` instance. These include the following, which have some useful
    properties.
 
-   .. method:: name(self)
+   .. method:: name(self, field=None, **kwargs)
 
       Generates a full name, using the '<first name> <last name>' pattern.
 
-   .. method:: first_name(self)
+   .. method:: first_name(self, field=None, **kwargs)
 
       Returns a randomly selected first name
 
-   .. method:: last_name(self)
+   .. method:: last_name(self, field=None, **kwargs)
 
       Returns a randomly selected last name
 
-   .. method:: email(self)
+   .. method:: email(self, field=None, **kwargs)
 
       Returns a randomly generated email address, using the pattern
       '<initial><last name>@<free email provider>'
 
-   .. method:: username(self)
+   .. method:: username(self, field=None, **kwargs)
 
       Returns a randomly generated user name, using the pattern
       '<initial><lastname>'.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.