Fix missing encoding pragma on python files

This commit is contained in:
jo 2021-05-27 15:21:02 +02:00
parent 0cd499eee1
commit ac17db97fc
85 changed files with 85 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.apps import AppConfig
from django.db.models.signals import pre_save

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.contrib.auth.models import BaseUserManager
class UserManager(BaseUserManager):

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from .authentication import *
from .celery import *
from .countries import *

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import hashlib
from django.contrib import auth
from django.contrib.auth.models import AbstractBaseUser, Permission

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models
from .files import File
from .smart_blocks import SmartBlock

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models
from .files import File

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models
from .authentication import User
from .files import File

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models
from .files import File

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models
from .playlists import Playlist
from .files import File

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models
from .files import File

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
GUEST = 'G'
DJ = 'H'
PROGRAM_MANAGER = 'P'

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.db import models
from django.contrib.auth import get_user_model
from .schedule import Schedule

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import logging
from django.contrib.auth.models import Group, Permission
from .models.user_constants import GUEST, DJ, PROGRAM_MANAGER, USER_TYPES

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from rest_framework.permissions import BasePermission
from django.conf import settings
from .models.user_constants import DJ

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.contrib.auth import get_user_model
from rest_framework import serializers
from .models import *

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import configparser
import os
from .utils import read_config_file, get_random_string

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.test.runner import DiscoverRunner

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from rest_framework.test import APITestCase
from django.contrib.auth.models import Group
from django.apps import apps

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
from django.contrib.auth import get_user_model
from django.contrib.auth.models import AnonymousUser

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
from django.contrib.auth.models import AnonymousUser
from django.conf import settings

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
from django.urls import include, path
from rest_framework import routers

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import configparser
import sys
import string

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
from django.conf import settings
from django.http import FileResponse

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
"""
WSGI config for api project.

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
import shutil
from setuptools import setup, find_packages