This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from multiprocessing import Process | |
import asyncio as aio | |
import coloredlogs, logging | |
import time | |
PROCESSES = 2 | |
COROUTINES_PER_PROCESS = 5 | |
class Multitasker: | |
def __init__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
from django.contrib.admin.models import LogEntry | |
from django.db.models import ManyToOneRel, ForeignKey, OneToOneField | |
from django.apps import apps | |
from django.contrib.auth.models import Group, User | |
from django.contrib.auth.admin import GroupAdmin, UserAdmin | |
from django.conf.urls import url | |
# admin custom views | |
from . import admin_views |