Skip to content

Commit

Permalink
Release v1.0.3 - Bump Codebase Version
Browse files Browse the repository at this point in the history
  • Loading branch information
App Generator committed Jan 20, 2022
1 parent e514ead commit b678cf7
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 23 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.3] 2022-01-20
### Improvements

- Bump Django Codebase to [v2stable.0.1](https://github.com/app-generator/boilerplate-code-django-dashboard/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.2] 2021-12-02
### Improvements

Expand Down
29 changes: 13 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,23 @@ Admin dashboard generated by AppSeed in **Django** Framework. [Light Bootstrap D

> Features
- `Up-to-date dependencies`: **Django 3.2.6 LTS**
- `Up-to-date dependencies`
- [SCSS compilation](#recompile-css) via **Gulp**
- UI-Ready app, SQLite Database, Django Native ORM
- Modular design, clean code-base
- Session-Based Authentication, Forms validation
- Deployment scripts: Docker, Gunicorn / Nginx
- Support via **Github** and [Discord](https://discord.gg/fZC6hup).
- UI-Ready app, `SQLite Database`, Django Native ORM
- `Session-Based authentication`, Forms validation
- `Deployment`: **Docker**, Gunicorn / Nginx, HEROKU
- Support via **Github** (issues tracker) and [Discord](https://discord.gg/fZC6hup).

<br />

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

<br />

## Quick Start in [Docker](https://www.docker.com/)
## Quick Start in `Docker`

> Get the code
Expand All @@ -35,9 +34,7 @@ $ cd django-dashboard-light-bootstrap
> Start the app in Docker
```bash
$ docker-compose pull # download dependencies
$ docker-compose build # local set up
$ docker-compose up -d # start the app
$ docker-compose up --build
```

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

<br />

## How to use it
## How to use it

```bash
$ # Get the code
Expand Down Expand Up @@ -83,7 +80,7 @@ $ # Access the web app in browser: http://127.0.0.1:8000/
<br />

## Code-base structure
## Code-base structure

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

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

<br />

## Recompile CSS
## Recompile CSS

To recompile SCSS files, follow this setup:

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

<br />

## Deployment
## Deployment

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

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-dashboard-light-bootstrap",
"mastertemplate": "boilerplate-code-django-dashboard",
"version": "1.0.2",
"version": "1.0.3",
"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 b678cf7

Please sign in to comment.