mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 21:14:03 +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
|
- Use Django Debug Toolbar
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from .common import *
|
from .common import * # noqa
|
||||||
|
|
||||||
# DEBUG
|
# DEBUG
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user