HardDiffusion package¶
Submodules¶
HardDiffusion.asgi module¶
ASGI config for HardDiffusion project.
It exposes the ASGI callable as a module-level variable named application
.
For more information on this file, see https://docs.djangoproject.com/en/4.1/howto/deployment/asgi/
HardDiffusion.celery module¶
celery app for HardDiffusion.
- class HardDiffusion.celery.WorkerHealthMonitor(_, **__)¶
Bases:
StartStopStep
This step registers a timer that runs a health check every 60 seconds.
- name = 'HardDiffusion.celery.WorkerHealthMonitor'¶
- requires = {'celery.worker.components:Pool', 'celery.worker.components:Timer'}¶
- start(parent)¶
- stop(_)¶
- HardDiffusion.celery.schedule_health_check(worker)¶
Schedule a health check to be run in the render worker pool.
HardDiffusion.logs module¶
Logging configuration for HardDiffusion.
HardDiffusion.redthis module¶
HardDiffusion.settings module¶
Django settings for HardDiffusion project.
Generated by ‘django-admin startproject’ using Django 4.1.6.
For more information on this file, see https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see https://docs.djangoproject.com/en/4.1/ref/settings/
- HardDiffusion.settings.dumps(obj)¶
- HardDiffusion.settings.loads(obj)¶
HardDiffusion.urls module¶
HardDiffusion URL Configuration
The urlpatterns list routes URLs to views.
For more information please see: https://docs.djangoproject.com/en/4.1/topics/http/urls/
Examples
- Function views
Add an import: from my_app import views
Add a URL to urlpatterns: path(‘’, views.home, name=’home’)
- Class-based views
Add an import: from other_app.views import Home
Add a URL to urlpatterns: path(‘’, Home.as_view(), name=’home’)
- Including another URLconf
Import the include() function: from django.urls import include, path
Add a URL to urlpatterns: path(‘blog/’, include(‘blog.urls’))
HardDiffusion.wsgi module¶
WSGI config for HardDiffusion project.
It exposes the WSGI callable as a module-level variable named application
.
For more information on this file, see https://docs.djangoproject.com/en/4.1/howto/deployment/wsgi/