mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 13:04:05 +03:00
Make all the PEP8 failure pass
This commit is contained in:
parent
06475b932b
commit
ec8283dbe7
|
@ -7,7 +7,7 @@ Local settings
|
|||
- Use Django Debug Toolbar
|
||||
'''
|
||||
|
||||
from .common import *
|
||||
from .common import * # noqa
|
||||
|
||||
# DEBUG
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
@ -12,7 +12,7 @@ from __future__ import absolute_import, unicode_literals
|
|||
|
||||
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
|
||||
# properly on Heroku.
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Import the AbstractUser model
|
||||
from __future__ import unicode_literals, absolute_import
|
||||
|
||||
from django.contrib.auth.models import AbstractUser
|
||||
|
||||
# Import the basic Django ORM models library
|
||||
from django.db import models
|
||||
|
||||
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):
|
||||
|
||||
def __unicode__(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user