Skip to content

Commit 29c05b0

Browse files
author
App Generator
committed
Release v1.0.6 - Bump Codebase Version
1 parent 53c9e86 commit 29c05b0

File tree

5 files changed

+19
-8
lines changed

5 files changed

+19
-8
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
22

3+
## [1.0.6] 2022-01-17
4+
### Improvements
5+
6+
- Bump Django Codebase to [v2.0.0](https://github.com/app-generator/boilerplate-code-django/releases)
7+
- Dependencies update (all packages)
8+
- Django==4.0.1
9+
- Settings update for Django 4.x
10+
- `New Parameter`: CSRF_TRUSTED_ORIGINS
11+
- [Origin header checking isn`t performed in older versions](https://docs.djangoproject.com/en/4.0/ref/settings/#csrf-trusted-origins)
12+
313
## [1.0.5] 2021-12-08
414
### Improvements
515

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Open-Source **[Django](https://appseed.us/django)** starter coded with basic mod
66

77
> Features
88
9-
- `Up-to-date dependencies`: **Django 3.2.6 LTS**
9+
- `Up-to-date dependencies`
1010
- [SCSS compilation](#recompile-css) via **Gulp**
1111
- UI Kit: **Pixel Lite** (Free Version) by **Themesberg**
1212
- `DB Tools`: SQLite Database, Django Native ORM

core/settings.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
DEBUG = config('DEBUG', default=True, cast=bool)
1919

2020
# load production server from .env
21-
ALLOWED_HOSTS = ['localhost', '127.0.0.1', config('SERVER', default='127.0.0.1')]
21+
ALLOWED_HOSTS = ['localhost', 'localhost:85', '127.0.0.1', config('SERVER', default='127.0.0.1')]
22+
CSRF_TRUSTED_ORIGINS = ['http://localhost:85', 'http://127.0.0.1', 'https://' + config('SERVER', default='127.0.0.1')]
2223

2324
# Application definition
2425

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "django-pixel",
33
"mastertemplate": "boilerplate-code-django",
4-
"version": "1.0.5",
4+
"version": "1.0.6",
55
"description": "Template project - Django Boilerplate Code",
66
"scripts": {},
77
"repository": {

requirements.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
asgiref==3.4.1
2-
autopep8==1.5.7
2+
autopep8==1.6.0
33
dj-database-url==0.5.0
4-
Django==3.2.6
4+
Django==4.0.1
55
gunicorn==20.1.0
6-
pycodestyle==2.7.0
7-
python-decouple==3.4
8-
pytz==2021.1
6+
pycodestyle==2.8.0
7+
python-decouple==3.5
8+
pytz==2021.3
99
sqlparse==0.4.2
1010
toml==0.10.2
1111
Unipath==1.1

0 commit comments

Comments
 (0)