Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(gae): delete old region tags at django_cloudsql #13111

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions appengine/flexible/django_cloudsql/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# [START runtime]
# [START gaeflex_py_django_app_yaml]
runtime: python
env: flex
Expand All @@ -24,4 +23,3 @@ beta_settings:
runtime_config:
python_version: 3.7
# [END gaeflex_py_django_app_yaml]
# [END runtime]
4 changes: 0 additions & 4 deletions appengine/flexible/django_cloudsql/mysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@

# Database

# [START dbconfig]
# [START gaeflex_py_django_database_config]
# Use django-environ to parse the connection string
DATABASES = {"default": env.db()}
Expand All @@ -120,7 +119,6 @@
DATABASES["default"]["PORT"] = 5432

# [END gaeflex_py_django_database_config]
# [END dbconfig]

# Use a in-memory sqlite3 database when testing in CI systems
if os.getenv("TRAMPOLINE_CI", None):
Expand Down Expand Up @@ -162,7 +160,6 @@
USE_TZ = True

# Static files (CSS, JavaScript, Images)
# [START staticurl]
# [START gaeflex_py_django_static_config]
# Define static storage via django-storages[google]
GS_BUCKET_NAME = env("GS_BUCKET_NAME")
Expand All @@ -177,7 +174,6 @@
}
GS_DEFAULT_ACL = "publicRead"
# [END gaeflex_py_django_static_config]
# [END staticurl]

# Default primary key field type
# https://docs.djangoproject.com/en/stable/ref/settings/#default-auto-field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# [START runtime]
# [START gaeflex_py_django_app_yaml]
runtime: python
env: flex
Expand All @@ -24,4 +23,3 @@ beta_settings:
runtime_config:
python_version: 3.7
# [END gaeflex_py_django_app_yaml]
# [END runtime]
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@

# Database

# [START dbconfig]
# [START gaeflex_py_django_database_config]
# Use django-environ to parse the connection string
DATABASES = {"default": env.db()}
Expand All @@ -120,7 +119,6 @@
DATABASES["default"]["PORT"] = 5432

# [END gaeflex_py_django_database_config]
# [END dbconfig]

# Use a in-memory sqlite3 database when testing in CI systems
if os.getenv("TRAMPOLINE_CI", None):
Expand Down Expand Up @@ -163,7 +161,6 @@
USE_TZ = True

# Static files (CSS, JavaScript, Images)
# [START staticurl]
# [START gaeflex_py_django_static_config]
# Define static storage via django-storages[google]
GS_BUCKET_NAME = env("GS_BUCKET_NAME")
Expand All @@ -172,7 +169,6 @@
STATICFILES_STORAGE = "storages.backends.gcloud.GoogleCloudStorage"
GS_DEFAULT_ACL = "publicRead"
# [END gaeflex_py_django_static_config]
# [END staticurl]

# Default primary key field type
# https://docs.djangoproject.com/en/stable/ref/settings/#default-auto-field
Expand Down