Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (6 sloc) 0.187 kB
import uuid
def generate_username(user, profile, client):
"""
Default function to generate usernames using the built in `uuid` library.
"""
return str(uuid.uuid4())[:30]
Jump to Line
Something went wrong with that request. Please try again.