mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-28 08:02:11 +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
|
||||
max-line-length = 180
|
||||
inline-quotes = "
|
||||
no-accept-encodings = True
|
||||
|
@ -1,4 +1,3 @@
|
||||
# coding=utf-8
|
||||
from utils.api import serializers, DateTimeTZField
|
||||
|
||||
from .models import User, AdminType
|
||||
|
@ -1,6 +1,3 @@
|
||||
# coding=utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models
|
||||
from django.utils.timezone import now
|
||||
from group.models import Group
|
||||
|
@ -1,6 +1,3 @@
|
||||
# coding=utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
@ -1,4 +1,2 @@
|
||||
# coding=utf-8
|
||||
|
||||
# please set your own SECRET_KEY to a long random string
|
||||
# SECRET_KEY = ""
|
||||
|
@ -1,6 +1,3 @@
|
||||
# coding=utf-8
|
||||
|
||||
|
||||
class DBRouter(object):
|
||||
def db_for_read(self, model, **hints):
|
||||
if model._meta.app_label == "submission":
|
||||
|
@ -1,4 +1,3 @@
|
||||
# coding=utf-8
|
||||
from django.conf.urls import include, url
|
||||
|
||||
urlpatterns = [
|
||||
|
@ -1 +0,0 @@
|
||||
# coding=utf-8
|
@ -1,4 +1,3 @@
|
||||
# coding=utf-8
|
||||
from django.http import HttpResponse
|
||||
|
||||
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