Skip to content

Commit 6726adb

Browse files
author
App Generator
committed
Release v1.0.4 - Bump Codebase Version
1 parent 8d05975 commit 6726adb

File tree

5 files changed

+35
-27
lines changed

5 files changed

+35
-27
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.4] 2022-01-16
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.3] 2021-12-03
414
### Improvements
515

README.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,25 @@ Open-source **[Django Dashboard](https://appseed.us/admin-dashboards/django)** g
66

77
> Features
88
9-
- UI Kit: **[CoreUI](https://bit.ly/2VTDaxg)** (Free Version) **v4.1.0**
10-
- Up-to-date [dependencies](./requirements.txt): **Django 3.2.6 LTS**
9+
- `Up-to-date dependencies`
1110
- [SCSS compilation](#recompile-css) via **Gulp**
12-
- UI-Ready app, SQLite Database, Django Native ORM
13-
- Modular design, clean code-base
14-
- Session-Based Authentication, Forms validation
15-
- Deployment scripts: Docker, Gunicorn / Nginx
11+
- UI Kit: **[CoreUI](https://bit.ly/2VTDaxg)** (Free Version) **v4.1.0**
12+
- Modular design, clean codebase
13+
- `Session-Based Authentication`, Forms validation
14+
- `Deployment`: **Docker**, Gunicorn / Nginx
1615
- Support via **Github** and [Discord](https://discord.gg/fZC6hup).
1716

1817
<br />
1918

2019
> Links
2120
22-
- [CoreUI Django](https://appseed.us/admin-dashboards/django-dashboard-coreui) - product page
23-
- [CoreUI Django](https://django-coreui.appseed-srv1.com/) - LIVE deployment
24-
- [CoreUI Django](https://docs.appseed.us/products/django-dashboards/coreui) - product documentation
21+
- 👉 [CoreUI Django](https://appseed.us/admin-dashboards/django-dashboard-coreui) - product page
22+
- 👉 [CoreUI Django](https://django-coreui.appseed-srv1.com/) - LIVE deployment
23+
- 👉 [CoreUI Django](https://docs.appseed.us/products/django-dashboards/coreui) - product documentation
2524

2625
<br />
2726

28-
## Quick Start in [Docker](https://www.docker.com/)
27+
## Quick Start in `Docker`
2928

3029
> Get the code
3130
@@ -37,9 +36,7 @@ $ cd django-dashboard-coreui
3736
> Start the app in Docker
3837
3938
```bash
40-
$ docker-compose pull # download dependencies
41-
$ docker-compose build # local set up
42-
$ docker-compose up -d # start the app
39+
$ docker-compose up --build
4340
```
4441

4542
Visit `http://localhost:85` in your browser. The app should be up & running.
@@ -50,12 +47,12 @@ Visit `http://localhost:85` in your browser. The app should be up & running.
5047

5148
<br />
5249

53-
## How to use it
50+
## How to use it
5451

5552
```bash
5653
$ # Get the code
57-
$ git clone https://github.com/app-generator/django-dashboard-coreui.git
58-
$ cd django-dashboard-coreui
54+
$ git clone https://github.com/app-generator/django-coreui.git
55+
$ cd django-coreui
5956
$
6057
$ # Virtualenv modules installation (Unix based systems)
6158
$ virtualenv env
@@ -85,7 +82,7 @@ $ # Access the web app in browser: http://127.0.0.1:8000/
8582
8683
<br />
8784

88-
## Code-base structure
85+
## Code-base structure
8986

9087
The project is coded using a simple and intuitive structure presented bellow:
9188

@@ -150,7 +147,7 @@ The project is coded using a simple and intuitive structure presented bellow:
150147

151148
<br />
152149

153-
## Recompile CSS
150+
## Recompile CSS
154151

155152
To recompile SCSS files, follow this setup:
156153

@@ -193,7 +190,7 @@ The generated file is saved in `static/assets/css` directory.
193190

194191
<br />
195192

196-
## Deployment
193+
## Deployment
197194

198195
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/).
199196

@@ -240,7 +237,7 @@ Visit `http://localhost:8001` in your browser. The app should be up & running.
240237

241238
<br />
242239

243-
## Credits & Links
240+
## Credits & Links
244241

245242
- [Django](https://www.djangoproject.com/) - The official website
246243
- [Boilerplate Code](https://appseed.us/boilerplate-code) - Index provided by **AppSeed**

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-coreui",
33
"mastertemplate": "boilerplate-code-django-dashboard",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
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)