Skip to content

Commit b678cf7

Browse files
author
App Generator
committed
Release v1.0.3 - Bump Codebase Version
1 parent e514ead commit b678cf7

File tree

5 files changed

+31
-23
lines changed

5 files changed

+31
-23
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
22

3+
## [1.0.3] 2022-01-20
4+
### Improvements
5+
6+
- Bump Django Codebase to [v2stable.0.1](https://github.com/app-generator/boilerplate-code-django-dashboard/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.2] 2021-12-02
414
### Improvements
515

README.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,23 @@ Admin dashboard generated by AppSeed in **Django** Framework. [Light Bootstrap D
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**
11-
- UI-Ready app, SQLite Database, Django Native ORM
12-
- Modular design, clean code-base
13-
- Session-Based Authentication, Forms validation
14-
- Deployment scripts: Docker, Gunicorn / Nginx
15-
- Support via **Github** and [Discord](https://discord.gg/fZC6hup).
11+
- UI-Ready app, `SQLite Database`, Django Native ORM
12+
- `Session-Based authentication`, Forms validation
13+
- `Deployment`: **Docker**, Gunicorn / Nginx, HEROKU
14+
- Support via **Github** (issues tracker) and [Discord](https://discord.gg/fZC6hup).
1615

1716
<br />
1817

1918
> Links
2019
21-
- [Django Light Bootstrap](https://appseed.us/admin-dashboards/django-dashboard-light) - product page
22-
- [Django Light Bootstrap](https://django-light-bootstrap.appseed-srv1.com) - LIVE deployment
20+
- 👉 [Django Light Bootstrap](https://appseed.us/admin-dashboards/django-dashboard-light) - product page
21+
- 👉 [Django Light Bootstrap](https://django-light-bootstrap.appseed-srv1.com) - LIVE deployment
2322

2423
<br />
2524

26-
## Quick Start in [Docker](https://www.docker.com/)
25+
## Quick Start in `Docker`
2726

2827
> Get the code
2928
@@ -35,9 +34,7 @@ $ cd django-dashboard-light-bootstrap
3534
> Start the app in Docker
3635
3736
```bash
38-
$ docker-compose pull # download dependencies
39-
$ docker-compose build # local set up
40-
$ docker-compose up -d # start the app
37+
$ docker-compose up --build
4138
```
4239

4340
Visit `http://localhost:85` in your browser. The app should be up & running.
@@ -48,7 +45,7 @@ Visit `http://localhost:85` in your browser. The app should be up & running.
4845

4946
<br />
5047

51-
## How to use it
48+
## How to use it
5249

5350
```bash
5451
$ # Get the code
@@ -83,7 +80,7 @@ $ # Access the web app in browser: http://127.0.0.1:8000/
8380
8481
<br />
8582

86-
## Code-base structure
83+
## Code-base structure
8784

8885
The project is coded using a simple and intuitive structure presented bellow:
8986

@@ -148,7 +145,7 @@ The project is coded using a simple and intuitive structure presented bellow:
148145

149146
<br />
150147

151-
## Recompile CSS
148+
## Recompile CSS
152149

153150
To recompile SCSS files, follow this setup:
154151

@@ -191,7 +188,7 @@ The generated file is saved in `static/assets/css` directory.
191188

192189
<br />
193190

194-
## Deployment
191+
## Deployment
195192

196193
The app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).
197194

core/settings.py

Lines changed: 2 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "django-dashboard-light-bootstrap",
33
"mastertemplate": "boilerplate-code-django-dashboard",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"description": "Template project - Django Boilerplate Code",
66
"scripts": {},
77
"repository": {

requirements.txt

Lines changed: 5 additions & 5 deletions
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)