Make all the PEP8 failure pass

This commit is contained in:
Saurabh Kumar 2015-04-20 18:01:55 +05:30
parent 06475b932b
commit ec8283dbe7
3 changed files with 6 additions and 9 deletions

View File

@ -7,7 +7,7 @@ Local settings
- Use Django Debug Toolbar - Use Django Debug Toolbar
''' '''
from .common import * from .common import * # noqa
# DEBUG # DEBUG
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------

View File

@ -12,7 +12,7 @@ from __future__ import absolute_import, unicode_literals
from boto.s3.connection import OrdinaryCallingFormat from boto.s3.connection import OrdinaryCallingFormat
from .common import * from .common import * # noqa
# This ensures that Django will be able to detect a secure connection # This ensures that Django will be able to detect a secure connection
# properly on Heroku. # properly on Heroku.

View File

@ -1,14 +1,11 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Import the AbstractUser model from __future__ import unicode_literals, absolute_import
from django.contrib.auth.models import AbstractUser from django.contrib.auth.models import AbstractUser
# from django.db import models
# Import the basic Django ORM models library # from django.utils.translation import ugettext_lazy as _
from django.db import models
from django.utils.translation import ugettext_lazy as _
# Subclass AbstractUser
class User(AbstractUser): class User(AbstractUser):
def __unicode__(self): def __unicode__(self):