Skip to content

Commit

Permalink
switched docstring to comment (nit)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptone committed Oct 8, 2012
1 parent 38b8234 commit da1daf9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions django/contrib/auth/management/commands/createsuperuser.py
Expand Up @@ -18,11 +18,8 @@
class Command(BaseCommand): class Command(BaseCommand):


def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
""" # an __init__ method is here largely to support swapping out custom user
an __init__ method is here largely to support swapping out custom user # models in tests
models in tests
"""

super(Command, self).__init__(*args, **kwargs) super(Command, self).__init__(*args, **kwargs)
self.UserModel = get_user_model() self.UserModel = get_user_model()
self.required_fields = self.UserModel.REQUIRED_FIELDS self.required_fields = self.UserModel.REQUIRED_FIELDS
Expand Down

0 comments on commit da1daf9

Please sign in to comment.