diff --git a/CHANGELOG.md b/CHANGELOG.md index f6a610e8..022affb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## [1.0.11] 2024-03-05 +### Changes + +- Deprecate `distutils` + - use `str2bool` +- Update Deps + - `requirements.txt` +- Update [Custom Development](https://appseed.us/custom-development/) Section + - New Pricing: `$3,999` + ## [1.0.10] 2023-10-24 ### Changes diff --git a/README.md b/README.md index 537276a6..65121314 100644 --- a/README.md +++ b/README.md @@ -6,23 +6,24 @@ The product is designed to deliver the best possible user experience with highly - 👉 [Django Pixel Bootstrap 5](https://appseed.us/product/pixel-bootstrap/django/) - `Product page` - 👉 [Django Pixel Bootstrap 5](https://django-pixel-lite.appseed-srv1.com/) - `LIVE Demo` ---- +
## Features > `Have questions?` Contact **[Support](https://appseed.us/support/)** (Email & Discord) provided by **AppSeed** -| Free Version | [PRO Version](https://appseed.us/product/pixel-bootstrap-pro/django/) | 🚀 Custom - $3,999 (plus VAT) | +| Free Version | [PRO Version](https://appseed.us/product/pixel-bootstrap-pro/django/) | [Custom Development](https://appseed.us/custom-development/) | | --------------------------------------| --------------------------------------| --------------------------------------| -| ✓ **Django 4.1.12** | **Everything in Free**, plus: | **Everything in PRO**, plus: | -| ✓ Best Practices | ✅ **Premium Bootstrap Design** | ✅ **1mo Custom Development** | -| ✓ Bootstrap Design | ✅ `Private REPO Access` | ✅ **Dedicated Developer** | -| ✓ `Docker` | ✅ OAuth - Github, Twitter | ✅ Weekly Sprints | -| ✓ `CI/CD` Flow via Render | ✅ Extended User Profile | ✅ Technical SPECS | -| ✓ `Free Support | ✅ **PRO Support** - [Email & Discord](https://appseed.us/support/) | ✅ Documentation | -| - | ✅ Deployment Assistance | ✅ **30 days Delivery Warranty** | +| ✓ **Django 4.1.12** | **Everything in Free**, plus: | **Everything in PRO**, plus: | +| ✓ Best Practices | ✅ **Premium Bootstrap Design** | ✅ **1mo Custom Development** | +| ✓ Bootstrap Design | ✅ `Private REPO Access` | ✅ **Team**: PM, Developer, Tester | +| ✓ `Docker` | ✅ OAuth - Github, Twitter | ✅ Weekly Sprints | +| ✓ `CI/CD` Flow via Render | ✅ Extended User Profile | ✅ Technical SPECS | +| ✓ `Free Support | ✅ **PRO Support** - [Email & Discord](https://appseed.us/support/) | ✅ Documentation | +| - | ✅ Deployment Assistance | ✅ **30 days Delivery Warranty** | +| - | - | - | | ------------------------------------ | ------------------------------------ | ------------------------------------| -| ✓ [LIVE Demo](https://django-pixel-lite.appseed-srv1.com/) | 🚀 [LIVE Demo](https://django-pixel-enh.appseed-srv1.com/) | 🛒 `Order`: **[$3,999](https://appseed.gumroad.com/l/rocket-package)** (GUMROAD) | +| ✓ [LIVE Demo](https://django-pixel-lite.appseed-srv1.com/) | 🚀 [LIVE Demo](https://django-pixel-enh.appseed-srv1.com/) | 🛒 `Order`: **[$3,999](https://appseed.gumroad.com/l/rocket-package)** (GUMROAD) | ![Pixel Bootstrap Lite - Full-Stack Starter generated by AppSeed.](https://user-images.githubusercontent.com/51070104/168753915-d61b2f97-57b2-4d14-a774-d217d120ff62.png) diff --git a/core/settings.py b/core/settings.py index d84290b4..76f76861 100644 --- a/core/settings.py +++ b/core/settings.py @@ -13,6 +13,7 @@ import os, random, string from pathlib import Path from dotenv import load_dotenv +from str2bool import str2bool load_dotenv() # take environment variables from .env. @@ -27,14 +28,15 @@ if not SECRET_KEY: SECRET_KEY = ''.join(random.choice( string.ascii_lowercase ) for i in range( 32 )) -# Render Deployment Code -DEBUG = 'RENDER' not in os.environ +# Enable/Disable DEBUG Mode +DEBUG = str2bool(os.environ.get('DEBUG')) +#print(' DEBUG -> ' + str(DEBUG) ) # Docker HOST -ALLOWED_HOSTS = ['localhost'] +ALLOWED_HOSTS = ['*'] # Add here your deployment HOSTS -CSRF_TRUSTED_ORIGINS = ['http://localhost:8000', 'http://localhost:5085'] +CSRF_TRUSTED_ORIGINS = ['http://localhost:8000', 'http://localhost:5085', 'http://127.0.0.1:8000', 'http://127.0.0.1:5085'] RENDER_EXTERNAL_HOSTNAME = os.environ.get('RENDER_EXTERNAL_HOSTNAME') if RENDER_EXTERNAL_HOSTNAME: diff --git a/requirements.txt b/requirements.txt index 9d3f5590..af03c736 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,13 +1,14 @@ # Core -django==4.1.12 -python-dotenv==1.0.0 +django==4.2.9 +python-dotenv==1.0.1 +str2bool==1.1 # UI django-theme-pixel==1.0.3 # Deployment -whitenoise==6.5.0 +whitenoise==6.6.0 gunicorn==21.2.0 # psycopg2-binary -# mysqlclient +# mysqlclient \ No newline at end of file