I hereby claim:
- I am codingjoe on github.
- I am codingjoe (https://keybase.io/codingjoe) on keybase.
- I have a public key ASCrU7QTyGthlfb3w79A6pMudUWkbZQmlqMOYbCqEeRR0Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import itertools | |
| from django.conf import settings | |
| from django.http import HttpResponse | |
| from django.template import engines | |
| from django.utils.module_loading import import_string | |
| import pytest | |
We want to attach a an ASGI app, like FastAPI, to an existing Django app, without any performance downsides.
In our example we are attaching an MCP server, including auto-loading.
You have an existing Django app, you serve via WSGI on a server like guinicorn. That's it!
| function updateData () { | |
| /* Fetch project cards from GitHub project and insert into Google Sheet. */ | |
| const scriptProperties = PropertiesService.getScriptProperties() | |
| const spreadsheet = SpreadsheetApp.getActive() | |
| const sheetName = scriptProperties.getProperty('SHEET_NAME') | |
| const sheet = spreadsheet.getSheetByName(sheetName) | |
| const githubApiUrl = 'https://api.github.com/graphql' | |
| const githubAccessToken = scriptProperties.getProperty('GITHUB_ACCESS_TOKEN') | |
| const githubOrg = scriptProperties.getProperty('GITHUB_ORG') |
| release: bin/release | |
| web: ... | |
| worker: ... |
| name: Development DB | |
| on: | |
| schedule: | |
| - cron: "0 4 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| dev-db: | |
| services: |
brew install geos gdal
# settings.py
GDAL_LIBRARY_PATH = os.getenv('GDAL_LIBRARY_PATH')
| diff --git a/django/core/checks/security/base.py b/django/core/checks/security/base.py | |
| index c21725518b..ecd5f5e004 100644 | |
| --- a/django/core/checks/security/base.py | |
| +++ b/django/core/checks/security/base.py | |
| @@ -4,6 +4,8 @@ from django.conf import settings | |
| from django.core.exceptions import ImproperlyConfigured | |
| from .. import Error, Tags, Warning, register | |
| +from ...cache import caches | |
| +from ...cache.backends.filebased import FileBasedCache |