- Notifications
You must be signed in to change notification settings - Fork 0
Upgrade Python Django 4.0 to 5.2 LTS#2
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
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -2,3 +2,4 @@ | ||
| .github | ||
| .gitignore | ||
| .venv | ||
| tmp | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,45 @@ | ||
| SECRET_KEY='django-insecure-sm^36&t1s@ox08&3--loi_qa=u)wrsl!+eq5y^kw0h9b1r#+uw' | ||
| DEBUG=True | ||
| ALLOWED_HOSTS='localhost 127.0.0.1 [::1]' | ||
| CORS_ALLOWED_ORIGINS='http://localhost' | ||
| TIME_ZONE='Europe/London' | ||
| APP_ENV=development | ||
| SIGNING_KEY=2de5c7b55db0e2bcbaac7a135e7b0cf340da8dba93f8c6d4f5ef0934887c834b | ||
| APP_URL=http://localhost:8000 | ||
| SECRET_KEY='django-insecure-change-me' | ||
| DEBUG=False | ||
| ALLOWED_HOSTS='' | ||
| CORS_ALLOWED_ORIGINS='' | ||
| TIME_ZONE=UTC | ||
| APP_ENV=local | ||
| CONNECTION=sqlite | ||
| MARIADB_DATABASE=python_selenium | ||
| MARIADB_DATABASE=boilerplate | ||
| MARIADB_HOST=localhost | ||
| MARIADB_USER=root | ||
| MARIADB_PASSWORD= | ||
| MARIADB_HOST=localhost | ||
| MARIADB_PORT=3306 | ||
| EMAIL_HOST=mailhog | ||
| EMAIL_HOST_USER= | ||
| EMAIL_HOST_PASSWORD= | ||
| EMAIL_PORT=1025 | ||
| EMAIL_USE_TLS=False | ||
| DOMAIN=localhost | ||
| MAILGUN_DOMAIN= | ||
| MAILGUN_SECRET= | ||
| MAIL_TO_ADDRESS=recipient@example.com | ||
| MAIL_FROM_ADDRESS="No Reply <noreply@python-boilerplate.com>" | ||
| MAIL_SUBJECT="Email Notification" | ||
| # Optional production hardening settings | ||
| # SECURE_SSL_REDIRECT=True | ||
| # SESSION_COOKIE_SECURE=True | ||
| # CSRF_COOKIE_SECURE=True | ||
| # SECURE_HSTS_SECONDS=31536000 | ||
| # SECURE_HSTS_INCLUDE_SUBDOMAINS=True | ||
| # SECURE_HSTS_PRELOAD=True | ||
| # CSRF_TRUSTED_ORIGINS='https://localhost' | ||
| # Previous settings but for local development | ||
| SECURE_SSL_REDIRECT=False | ||
| SESSION_COOKIE_SECURE=False | ||
| CSRF_COOKIE_SECURE=False | ||
| SECURE_HSTS_SECONDS=0 | ||
| SECURE_HSTS_INCLUDE_SUBDOMAINS=False | ||
| SECURE_HSTS_PRELOAD=False | ||
| CSRF_TRUSTED_ORIGINS='http://localhost' | ||
| USE_X_FORWARDED_PROTO=False | ||
| SELENIUM_HEADLESS=False | ||
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,288 +1,6 @@ | ||
| ### Python template | ||
| # Byte-compiled / optimized / DLL files | ||
| __pycache__/ | ||
| *.py[cod] | ||
| *$py.class | ||
| # C extensions | ||
| *.so | ||
| # Distribution / packaging | ||
| .Python | ||
| # build/ | ||
| develop-eggs/ | ||
| dist/ | ||
| downloads/ | ||
| eggs/ | ||
| .eggs/ | ||
| lib/ | ||
| lib64/ | ||
| parts/ | ||
| sdist/ | ||
| var/ | ||
| wheels/ | ||
| *.egg-info/ | ||
| .installed.cfg | ||
| *.egg | ||
| # PyInstaller | ||
| # Usually these files are written by a python script from a template | ||
| # before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
| *.manifest | ||
| *.spec | ||
| # Installer logs | ||
| pip-log.txt | ||
| pip-delete-this-directory.txt | ||
| # Unit test / coverage reports | ||
| htmlcov/ | ||
| .tox/ | ||
| .coverage | ||
| .coverage.* | ||
| .cache | ||
| nosetests.xml | ||
| coverage.xml | ||
| *.cover | ||
| .hypothesis/ | ||
| # Translations | ||
| *.mo | ||
| *.pot | ||
| # Django stuff: | ||
| staticfiles/ | ||
| mediafiles/ | ||
| # Sphinx documentation | ||
| docs/_build/ | ||
| # PyBuilder | ||
| target/ | ||
| # pyenv | ||
| .python-version | ||
| # Environments | ||
| .venv | ||
| venv/ | ||
| env/ | ||
| # Rope project settings | ||
| .ropeproject | ||
| # mkdocs documentation | ||
| /site | ||
| # mypy | ||
| .mypy_cache/ | ||
| ### Node template | ||
| # Logs | ||
| # logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| # Runtime data | ||
| pids | ||
| *.pid | ||
| *.seed | ||
| *.pid.lock | ||
| # Directory for instrumented libs generated by jscoverage/JSCover | ||
| lib-cov | ||
| # Coverage directory used by tools like istanbul | ||
| coverage | ||
| # nyc test coverage | ||
| .nyc_output | ||
| # Bower dependency directory (https://bower.io/) | ||
| bower_components | ||
| # node-waf configuration | ||
| .lock-wscript | ||
| # Compiled binary addons (http://nodejs.org/api/addons.html) | ||
| build/Release | ||
| # Dependency directories | ||
| node_modules/ | ||
| jspm_packages/ | ||
| # Typescript v1 declaration files | ||
| typings/ | ||
| # Optional npm cache directory | ||
| .npm | ||
| # Optional eslint cache | ||
| .eslintcache | ||
| # Optional REPL history | ||
| .node_repl_history | ||
| # Output of 'npm pack' | ||
| *.tgz | ||
| # Yarn Integrity file | ||
| .yarn-integrity | ||
| ### Linux template | ||
| *~ | ||
| # temporary files which can be created if a process still has a handle open of a deleted file | ||
| .fuse_hidden* | ||
| # KDE directory preferences | ||
| .directory | ||
| # Linux trash folder which might appear on any partition or disk | ||
| .Trash-* | ||
| # .nfs files are created when an open file is removed but is still being accessed | ||
| .nfs* | ||
| ### VisualStudioCode template | ||
| .vscode/* | ||
| !.vscode/settings.json | ||
| !.vscode/tasks.json | ||
| !.vscode/launch.json | ||
| !.vscode/extensions.json | ||
| *.code-workspace | ||
| # Local History for Visual Studio Code | ||
| .history/ | ||
| ### Windows template | ||
| # Windows thumbnail cache files | ||
| Thumbs.db | ||
| ehthumbs.db | ||
| ehthumbs_vista.db | ||
| # Dump file | ||
| *.stackdump | ||
| # Folder config file | ||
| Desktop.ini | ||
| # Recycle Bin used on file shares | ||
| $RECYCLE.BIN/ | ||
| # Windows Installer files | ||
| *.cab | ||
| *.msi | ||
| *.msm | ||
| *.msp | ||
| # Windows shortcuts | ||
| *.lnk | ||
| ### macOS template | ||
| # General | ||
| *.DS_Store | ||
| .AppleDouble | ||
| .LSOverride | ||
| # Icon must end with two \r | ||
| Icon | ||
| # Thumbnails | ||
| ._* | ||
| # Files that might appear in the root of a volume | ||
| .DocumentRevisions-V100 | ||
| .fseventsd | ||
| .Spotlight-V100 | ||
| .TemporaryItems | ||
| .Trashes | ||
| .VolumeIcon.icns | ||
| .com.apple.timemachine.donotpresent | ||
| # Directories potentially created on remote AFP share | ||
| .AppleDB | ||
| .AppleDesktop | ||
| Network Trash Folder | ||
| Temporary Items | ||
| .apdisk | ||
| ### SublimeText template | ||
| # Cache files for Sublime Text | ||
| *.tmlanguage.cache | ||
| *.tmPreferences.cache | ||
| *.stTheme.cache | ||
| # Workspace files are user-specific | ||
| *.sublime-workspace | ||
| # Project files should be checked into the repository, unless a significant | ||
| # proportion of contributors will probably not be using Sublime Text | ||
| # *.sublime-project | ||
| # SFTP configuration file | ||
| sftp-config.json | ||
| # Package control specific files | ||
| Package Control.last-run | ||
| Package Control.ca-list | ||
| Package Control.ca-bundle | ||
| Package Control.system-ca-bundle | ||
| Package Control.cache/ | ||
| Package Control.ca-certs/ | ||
| Package Control.merged-ca-bundle | ||
| Package Control.user-ca-bundle | ||
| oscrypto-ca-bundle.crt | ||
| bh_unicode_properties.cache | ||
| # Sublime-github package stores a github token in this file | ||
| # https://packagecontrol.io/packages/sublime-github | ||
| GitHub.sublime-settings | ||
| ### Vim template | ||
| # Swap | ||
| [._]*.s[a-v][a-z] | ||
| [._]*.sw[a-p] | ||
| [._]s[a-v][a-z] | ||
| [._]sw[a-p] | ||
| # Session | ||
| Session.vim | ||
| # Temporary | ||
| .netrwhist | ||
| # Auto-generated tag files | ||
| tags | ||
| ### Project template | ||
| django_app/media/ | ||
| .pytest_cache/ | ||
| .ipython/ | ||
| .env | ||
| .envs/* | ||
| !.envs/.local/ | ||
| .idea | ||
| client/node_modules | ||
| db.sqlite3 | ||
| migrations/ | ||
| nohup.out | ||
| screenshots/ | ||
| tmp | ||
| /tmp | ||
| /env | ||
| /static | ||
| .env |
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.