# Deploy this app with Untoy Untoy checks a Django app, prepares a private preview and lets its owner approve putting it online in their own Google Cloud account. Build for Django and PostgreSQL. If an existing app uses another framework, tell the owner which one you found. Offer to rebuild it with their permission or direct them to https://kgquant.com/contact/ for a conversion quote. ## Send the app If your tools include Untoy deploy, send the app name and source files. Give each changed version a new upload_id. Reuse the same ID when retrying the same send. Use the returned app ID for later versions. For a larger folder, use the staged upload tools or a one-time ZIP upload link. Keep passwords, keys, tokens and local environment files out of the upload. Read the fix list, correct the files and send them again. If checks are still running, ask deploy about the returned app and revision. Show the owner the private preview or the approval link Untoy returns. Without a connected tool, prepare the folder containing manage.py or a ZIP of its contents. Ask the owner to choose On my computer at https://kgquant.com/untoy/apps/, use Upload app and share any fix list with you. Until Untoy supplies an approval link, direct the owner to that workspace. A signed-in workspace administrator approves the setup estimate and each public release in the dashboard. Only report an app as live after Untoy confirms the release. In Claude on the web, add https://untoy.kgquant.com/mcp as a custom connector and sign in to KGQuant. In ChatGPT, use Untoy Connect if it appears in your personal plugins. Other owners can use the folder upload steps above. ## Build for the readiness checks Use a production web server, such as Gunicorn. A typical Procfile line is `web: gunicorn --bind :$PORT your_project.wsgi:application`. Replace your_project with the Django package containing wsgi.py. Read settings from the environment. For example, use os.environ["DJANGO_SECRET_KEY"] and read PostgreSQL connection details from PGHOST, PGDATABASE, PGUSER and PGPASSWORD. Apply the following checks when the feature is used. Advice does not block readiness. ### Django project - The Django settings file is valid Python. - A file named manage.py is at the top level of the submitted files. - manage.py sets DJANGO_SETTINGS_MODULE and the named settings file is among the submitted files. ### Python packages - A file named requirements.txt is at the top level of the submitted files. - requirements.txt lists Django. - The top-level .python-version contains only a Python version such as 3.13. ### Starting the server - A file named Procfile is at the top level and has a line starting "web:". - The web line in Procfile does not run manage.py runserver. - requirements.txt lists the chosen server package. - The Uvicorn, Daphne or Hypercorn start command listens on $PORT. - The module named in the web line of Procfile is among the submitted files. ### PostgreSQL - DATABASES uses PostgreSQL and reads its connection from the environment. - requirements.txt lists psycopg2-binary, psycopg2 or psycopg. ### Django settings - SECRET_KEY reads its value from the environment. - SECRET_KEY reads the environment without a fallback value. (Advice) - DEBUG is not set to True in the code. - ALLOWED_HOSTS reads its value from the environment. Untoy also accepts ["*"] with a warning. - CSRF_TRUSTED_ORIGINS reads its value from the environment. - SECURE_PROXY_SSL_HEADER is set whenever SECURE_SSL_REDIRECT is True. - EMAIL_HOST_PASSWORD is not a fixed value in the code. ### If using Django static files - The settings define STATIC_URL. - requirements.txt lists whitenoise and MIDDLEWARE includes whitenoise.middleware.WhiteNoiseMiddleware. - WHITENOISE_USE_FINDERS is True. ### If users upload files - requirements.txt lists django-storages and the settings use storages.backends.gcloud for uploaded files. - For an ImageField, requirements.txt lists Pillow. ### Background and scheduled work - requirements.txt does not list arq, celery, django-rq, dramatiq, huey, rq. - No scheduling package or schedule setting is present. (Advice) ### If the app defines database models - migrations/__init__.py and at least one numbered migration file are present. ### If the app sends email - EMAIL_BACKEND is an SMTP or email service backend. (Advice) ### If using the Firebase public address - For login sessions, SESSION_COOKIE_NAME is "__session". - For Django form protection, CSRF_USE_SESSIONS is True. - No script reads csrftoken from document.cookie. - For Django messages, MESSAGE_STORAGE is the session storage. - MIDDLEWARE does not include the site-wide cache middleware. - No page for signed-in people is marked public. (Advice) - The code does not call set_cookie. (Advice) - No response streams for longer than 60 seconds. (Advice)