Skip to content

Commit

Permalink
Release v1.0.6 - Bump Codebase Version
Browse files Browse the repository at this point in the history
  • Loading branch information
App Generator committed Jan 17, 2022
1 parent 53c9e86 commit 29c05b0
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## [1.0.6] 2022-01-17
### Improvements

- Bump Django Codebase to [v2.0.0](https://github.com/app-generator/boilerplate-code-django/releases)
- Dependencies update (all packages)
- Django==4.0.1
- Settings update for Django 4.x
- `New Parameter`: CSRF_TRUSTED_ORIGINS
- [Origin header checking isn`t performed in older versions](https://docs.djangoproject.com/en/4.0/ref/settings/#csrf-trusted-origins)

## [1.0.5] 2021-12-08
### Improvements

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Open-Source **[Django](https://appseed.us/django)** starter coded with basic mod

> Features
- `Up-to-date dependencies`: **Django 3.2.6 LTS**
- `Up-to-date dependencies`
- [SCSS compilation](#recompile-css) via **Gulp**
- UI Kit: **Pixel Lite** (Free Version) by **Themesberg**
- `DB Tools`: SQLite Database, Django Native ORM
Expand Down
3 changes: 2 additions & 1 deletion core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
DEBUG = config('DEBUG', default=True, cast=bool)

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

# Application definition

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "django-pixel",
"mastertemplate": "boilerplate-code-django",
"version": "1.0.5",
"version": "1.0.6",
"description": "Template project - Django Boilerplate Code",
"scripts": {},
"repository": {
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
asgiref==3.4.1
autopep8==1.5.7
autopep8==1.6.0
dj-database-url==0.5.0
Django==3.2.6
Django==4.0.1
gunicorn==20.1.0
pycodestyle==2.7.0
python-decouple==3.4
pytz==2021.1
pycodestyle==2.8.0
python-decouple==3.5
pytz==2021.3
sqlparse==0.4.2
toml==0.10.2
Unipath==1.1
Expand Down

0 comments on commit 29c05b0

Please sign in to comment.