mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-28 16:12:13 +00:00
remove unused coding=utf-8
This commit is contained in:
parent
32c1b89080
commit
c26ee6e87a
1
.flake8
1
.flake8
@ -5,3 +5,4 @@ exclude =
|
|||||||
*settings.py
|
*settings.py
|
||||||
max-line-length = 180
|
max-line-length = 180
|
||||||
inline-quotes = "
|
inline-quotes = "
|
||||||
|
no-accept-encodings = True
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
# coding=utf-8
|
|
||||||
from utils.api import serializers, DateTimeTZField
|
from utils.api import serializers, DateTimeTZField
|
||||||
|
|
||||||
from .models import User, AdminType
|
from .models import User, AdminType
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# coding=utf-8
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.utils.timezone import now
|
from django.utils.timezone import now
|
||||||
from group.models import Group
|
from group.models import Group
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# coding=utf-8
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,2 @@
|
|||||||
# coding=utf-8
|
|
||||||
|
|
||||||
# please set your own SECRET_KEY to a long random string
|
# please set your own SECRET_KEY to a long random string
|
||||||
# SECRET_KEY = ""
|
# SECRET_KEY = ""
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
# coding=utf-8
|
|
||||||
|
|
||||||
|
|
||||||
class DBRouter(object):
|
class DBRouter(object):
|
||||||
def db_for_read(self, model, **hints):
|
def db_for_read(self, model, **hints):
|
||||||
if model._meta.app_label == "submission":
|
if model._meta.app_label == "submission":
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
# coding=utf-8
|
|
||||||
from django.conf.urls import include, url
|
from django.conf.urls import include, url
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
@ -1 +0,0 @@
|
|||||||
# coding=utf-8
|
|
@ -1,4 +1,3 @@
|
|||||||
# coding=utf-8
|
|
||||||
from django.http import HttpResponse
|
from django.http import HttpResponse
|
||||||
|
|
||||||
from utils.captcha import Captcha
|
from utils.captcha import Captcha
|
||||||
|
@ -1 +0,0 @@
|
|||||||
# coding=utf-8
|
|
@ -1 +0,0 @@
|
|||||||
# coding=utf-8
|
|
Loading…
Reference in New Issue
Block a user