Skip to content

Commit b476afc

Browse files
committed
Minor Changes
1 parent c74544f commit b476afc

File tree

5 files changed

+66
-52
lines changed

5 files changed

+66
-52
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"label": "BOILERPLATE CODE",
2+
"label": "Boilerplate Code",
33
"position": 6,
44
"className": "section-title",
55
"collapsed": true,
66
"collapsible": true,
77
"link": {
88
"type": "generated-index",
99
"slug": "/boilerplate-code",
10-
"description": "Here are the articles in this section"
10+
"description": "Boilerplate Code & Starters actively supported by AppSeed."
1111
}
1212
}

docs/developer-tools/flask-dynamic-api.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ For newcomers, **Flask** is a leading backend framework used to code from simple
1515

1616
## ✅ Video Presentation
1717

18-
<YoutubeEmbed url="https://user-images.githubusercontent.com/51070104/194328733-3bdf8c70-f765-4168-983d-2a51e276239b.mp4" title="Flask Dynamic API - Open-Source tool provided by AppSeed" />
19-
18+
<YoutubeEmbed url="https://www.youtube.com/embed/jrdwFsNLZfw" title="Flask Dynamic API - Open-Source tool provided by AppSeed" />
2019

2120
## ✅ Manual Build
2221

docs/technologies/django/01-getting-started.mdx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Django can help us to code from simple, one-page websites, APIs, micro-services,
1313
It enables developers to build robust applications rapidly while helping developers to avoid security mistakes since Django takes security seriously.
1414
Django is flexible and scalable and comes with a lot of tools prebuilt into it for example, its Object relation mapper (ORM), admin dashboard, user authentication and lots more.
1515

16+
![Getting Started with Django - Tutorial provided by AppSeed.](https://user-images.githubusercontent.com/51070104/268675023-54ea4ace-a8ad-442b-9b43-2ba12a6403ba.jpg)
17+
1618
Django adopts the MTV (Model Template View) architectural pattern. **Model** determines the data structure and is a handler between the database and the view.
1719
**Template** keeps everything the browser renders, django uses a plain text template system. **View** communicates with the database using the model and sends the data to the template to be displayed.
1820

1921
The framework acts as a controller sending requests to the right view based on the URL configuration.
2022
Django's MVT pattern emphasizes the separation of concerns and modularity, making it easier to develop and maintain web applications with a clear separation between business logic, data access, and presentation.
2123

22-
![Getting Started with Django - Tutorial provided by AppSeed.](https://user-images.githubusercontent.com/51070104/268675023-54ea4ace-a8ad-442b-9b43-2ba12a6403ba.jpg)
23-
2424
## ✅ Why Using Django
2525

2626
* Django enables rapid development by eliminating a lot of the hassle of web development
@@ -40,7 +40,7 @@ This can help prevent dependency issues and also help in reproducibility.
4040

4141
<br />
4242

43-
### Creating a Virtual environment
43+
### 👉 Creating a Virtual environment
4444

4545
* From the terminal, type the following commands
4646

@@ -69,7 +69,7 @@ $ venv\Scripts\activate
6969

7070
<br />
7171

72-
### Installing Django
72+
### 👉 Installing Django
7373

7474
Since our virtual environment is active we can install Django and start development. In your terminal run the following commands
7575
```bash
@@ -84,7 +84,7 @@ A Django project is a collection of settings and configurations that define the
8484

8585
<br />
8686

87-
### Creating the Project
87+
### 👉 Creating the Project
8888

8989
A Django project is created using the `django-admin` command-line tool. `django-admin startproject <project-name>` is the command used to create a new Django project.
9090

@@ -107,7 +107,7 @@ After running the command above, your directory structure will look like this. T
107107

108108
<br />
109109

110-
### Applying initial Database configuration
110+
### 👉 Applying initial Database configuration
111111

112112
Django comes with some database configurations which can be found in `core/settings.py`, the default database configuration for Django is SQLite3.
113113
Django is built to integrate with a lot of popular databases like MySQL, Postgresql, Oracle and so on.
@@ -132,26 +132,26 @@ This starts up a Django server, open `http://127.0.0.1:8000/` in your browser, y
132132

133133
In Django, an application is a self-contained module of code that provides specific functionality to a project. It is a collection of models, views, templates, and other related files that work together to implement a particular feature or set of features. An application is typically stored in its directory within the project's directory structure. Each application contains a set of files that define its functionality, including:
134134

135-
* Models: A model is a Python class that defines the structure of a database table and the relationships between tables. Models are used to define the data structure of the application.
135+
- **Models**: A model is a Python class that defines the structure of a database table and the relationships between tables. Models are used to define the data structure of the application.
136136

137-
* Views: A view is a Python function that processes HTTP requests and returns HTTP responses. Views are used to define the logic for handling user requests and rendering the appropriate response.
137+
- **Views**: A view is a Python function that processes HTTP requests and returns HTTP responses. Views are used to define the logic for handling user requests and rendering the appropriate response.
138138

139-
* Templates: A template is an HTML file that defines the layout and structure of the application's web pages. Templates are used to define the presentation layer of the application.
139+
- **Templates**: A template is an HTML file that defines the layout and structure of the application's web pages. Templates are used to define the presentation layer of the application.
140140

141-
* URLs: A URL is a string that maps to a view function. URLs are used to define the routing for the application.
141+
- **URLs**: A URL is a string that maps to a view function. URLs are used to define the routing for the application.
142142

143-
* Static files: Static files are files such as CSS, JavaScript, and images that are used to define the presentation layer of the application.
143+
- **Static files**: Static files are files such as CSS, JavaScript, and images that are used to define the presentation layer of the application.
144144

145145
<br />
146146

147-
### Creating a Django APP
147+
### 👉 Creating a Django APP
148148

149149
Using the `django-admin` command from the terminal, we will be creating a Django application inside the project directory. `django-admin startapp <app-name>` is the command used for creating new applications.
150150

151-
* Run the command below on your terminal to create a Django application name example
151+
Run the command below on your terminal to create a Django application name example
152152

153153
```bash
154-
(venv) $ django-admin startapp example
154+
(venv) $ django-admin startapp example
155155
```
156156

157157
With this, a new application called `example` has been created. The new folder structure for the project will become
@@ -180,7 +180,7 @@ Although we have created an application, the Django project does not recognize o
180180

181181
<br />
182182

183-
### Update Settings
183+
### 👉 Update Settings
184184

185185
To connect `example` to the Django project `core`, open the file `core/settings.py` and add `example` to the `INSTALLED_APPS` list.
186186

@@ -202,7 +202,7 @@ Now our Django project recognizes the `example` application.
202202

203203
<br />
204204

205-
### Updating Project Routes
205+
### 👉 Updating Project Routes
206206

207207
Now that the Django project can recognize the `example` application, the next step is to give the application a route. By doing this we create a generic route that when visited, Django checks this application for resources to send back to the client.
208208

@@ -223,7 +223,7 @@ If your Django server was running when this change was made, you would be having
223223

224224
<br />
225225

226-
### Serving an HTML Page
226+
### 👉 Serving an HTML Page
227227

228228
* Edit the `core/settings file by adding a route to template files for Django to use in identifying resources to be sent as the response
229229

@@ -394,7 +394,7 @@ The application just built will be deployed on [Render](https://render.com) and
394394

395395
<br />
396396

397-
### Initial setup
397+
### 👉 Initial setup
398398

399399
Before we can start deploying our project, we need to make some changes to our codebase.
400400

@@ -479,7 +479,7 @@ The changes made above combine the configuration for Docker and deploying on ren
479479

480480
<br />
481481

482-
### Deploying Django on Render
482+
### 👉 Deploying Django on Render
483483

484484
* In the root directory of your application, create a file name `build.sh` and add the following line
485485
```bash
@@ -532,7 +532,7 @@ fi
532532

533533
<br />
534534

535-
### Running Django project on Docker
535+
### 👉 Running Django project on Docker
536536

537537
The following steps will help you create a docker image and start up a docker container for your Django project
538538

docs/technologies/django/01-releases.mdx

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,27 @@ For newcomers, Django is a high-level, open-source Python web framework known fo
1111

1212
![Django Releases - Tutorial provided by AppSeed.](https://user-images.githubusercontent.com/51070104/268675023-54ea4ace-a8ad-442b-9b43-2ba12a6403ba.jpg)
1313

14-
## **Django 4.2.6** (October, 2023):
14+
## **[Django 5](https://blog.appseed.us/django-5-release-summary-and-sample/)** `alpha 1` (September 18, 2023)
15+
16+
- **Django 5.x** supports Python 3.10, 3.11, and 3.12
17+
- [Facets](https://docs.djangoproject.com/en/dev/ref/contrib/admin/filters/#facet-filters) processing updates
18+
- Simplified templates for form field rendering
19+
- Database-computed default values
20+
- Database generated model field
21+
22+
## **Django 4.2.6** (October, 2023):
1523

1624
- Django 4.2.6 fixes several bugs in 4.2.5
1725
- Fix Security Issue `CVE-2023-41164`
1826
- Potential denial of service vulnerability in django.utils.encoding.uri_to_iri()
1927

20-
## **Django 4.2.4** (August, 2023):
28+
## **Django 4.2.4** (August, 2023):
2129

2230
- Fixed a regression in Django 4.2 that caused a crash of QuerySet.aggregate() with aggregates referencing window functions (#34717).
2331
- Fixed a regression in Django 4.2 that caused a crash when grouping by a reference in a subquery (#34748).
2432
- Fixed a regression in Django 4.2 that caused aggregation over query that uses explicit grouping by multi-valued annotations to group against the wrong columns (#34750).
2533

26-
## **Django 4.2.2** (June, 2023):
34+
## **Django 4.2.2** (June, 2023):
2735

2836
BugFixes:
2937

@@ -34,134 +42,134 @@ BugFixes:
3442
- Fixed a bug in Django 4.2 where makemigrations --update didn’t respect the --name option (#34568).
3543
- Fixed a performance regression in Django 4.2 when compiling queries without ordering (#34580).
3644

37-
## **Django 4.2** (April, 2023):
45+
## **Django 4.2** (April, 2023):
3846

3947
- Psycopg 3 support
4048
- Django now supports psycopg version 3.1.8 or higher. To update your code, install the psycopg library, you don`t need to change the ENGINE as django.db.backends.postgresql supports both libraries.
4149
- Comments on columns and tables
4250
- The new `Field.db_comment` and `Meta.db_table_comment` options allow creating comments on columns and tables, respectively.
4351

44-
## **Django 4.0** (December, 2021):
52+
## **Django 4.0** (December, 2021):
4553

4654
- zoneinfo default timezone implementation
4755
- scrypt password hasher
4856
- Redis cache backend
4957
- Template based form rendering
5058

51-
## **Django 3.2** (April 2021):
59+
## **Django 3.2** (April 2021):
5260

5361
- Extended support for Python 3.9.
5462
- Introduced improved speed and performance enhancements.
5563

56-
## **Django 3.1** (August 2020):
64+
## **Django 3.1** (August 2020):
5765

5866
- Extended support for Python 3.8 and 3.9.
5967
- Introduced stricter database constraints.
6068
- Enhanced security features.
6169

62-
## **Django 3.0** (December 2019):
70+
## **Django 3.0** (December 2019):
6371

6472
- Dropped support for Python 3.5.
6573
- Added support for Python 3.8.
6674
- Introduced path converters in URL routing.
6775

68-
## **Django 2.2** (April 2019):
76+
## **Django 2.2** (April 2019):
6977

7078
- Extended support for Python 3.7 and 3.8.
7179
- Included database and performance improvements.
7280

73-
## **Django 2.1** (August 2018):
81+
## **Django 2.1** (August 2018):
7482

7583
- Added support for Python 3.7.
7684
- Included features like multi-database support and easier handling of static files.
7785

78-
## **Django 2.0** (December 2017):
86+
## **Django 2.0** (December 2017):
7987

8088
- Dropped support for Python 2.x.
8189
- Required Python 3.4 or later.
8290
- Included various improvements and updates.
8391

84-
## **Django 1.11** (April 2017):
92+
## **Django 1.11** (April 2017):
8593

8694
- Extended support for Python 3.6.
8795
- Introduced "subquery" expressions.
8896
- Included an easier way to format template text.
8997

90-
## **Django 1.10** (August 2016):
98+
## **Django 1.10** (August 2016):
9199

92100
- Introduced full support for Python 3.5.
93101
- Added features like template-based widget rendering.
94102

95-
## **Django 1.9** (December 2015):
103+
## **Django 1.9** (December 2015):
96104

97105
- Included support for PostgreSQL's "upsert" feature.
98106
- Improved password hashing.
99107
- Enhanced customizability of the admin interface.
100108

101-
## **Django 1.8** (April 2015):
109+
## **Django 1.8** (April 2015):
102110

103111
- Added support for the "Django Rest Framework."
104112
- Included native support for complex database types like JSON.
105113
- Other improvements.
106114

107-
## **Django 1.7** (September 2014):
115+
## **Django 1.7** (September 2014):
108116

109117
- Introduced the "migrations" framework as a core feature.
110118
- Allowed database schema changes to be version-controlled.
111119

112-
## **Django 1.6** (November 2013):
120+
## **Django 1.6** (November 2013):
113121

114122
- Brought significant improvements in testing and authentication.
115123
- Added support for database schema migrations.
116124

117-
## **Django 1.5** (February 2013):
125+
## **Django 1.5** (February 2013):
118126

119127
- Introduced custom user models.
120128
- Added a new timezone support model.
121129
- Configurable user authentication system.
122130

123-
## **Django 1.4** (March 2012):
131+
## **Django 1.4** (March 2012):
124132

125133
- Added timezone support.
126134
- Supported user-uploaded static files.
127135
- Improved scalability.
128136

129-
## **Django 1.3** (March 2011):
137+
## **Django 1.3** (March 2011):
130138

131139
- Added class-based views.
132140
- Improved file handling.
133141
- Better support for NoSQL databases.
134142

135-
## **Django 1.2** (May 2010):
143+
## **Django 1.2** (May 2010):
136144

137145
- Added support for multiple database connections.
138146
- Improved form handling.
139147
- Enhanced internationalization features.
140148

141-
## **Django 1.1** (July 2009):
149+
## **Django 1.1** (July 2009):
142150

143151
- Introduced features like aggregation and transaction-based testing.
144152
- Improved support for PostgreSQL.
145153

146-
## **Django 1.0** (September 2008):
154+
## **Django 1.0** (September 2008):
147155

148156
- First official stable release.
149157
- Included the admin interface, authentication, and many core features.
150158

151-
## **Django 0.96** (March 2006):
159+
## **Django 0.96** (March 2006):
152160

153161
- Focused on code quality and compatibility, laying the groundwork for future versions.
154162

155-
## **Django 0.95** (January 2006):
163+
## **Django 0.95** (January 2006):
156164

157165
- Added support for database migrations.
158166
- Improved documentation and template support.
159167

160-
## **Django 0.91** (October 2005):
168+
## **Django 0.91** (October 2005):
161169

162170
- Introduced features like the automatic admin interface and template inheritance.
163171

164-
## **Django 0.90** (July 2005):
172+
## **Django 0.90** (July 2005):
165173

166174
- First public release of Django.
167175
- Open-sourced under the BSD license.

docs/technologies/flask/01-releases.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ sidebar_label : Releases
77

88
This page presensts the history of Flask starting from the latest versions.
99

10-
## **Flask 2.3.3 (August 2023)****
10+
## [Flask 3](https://blog.appseed.us/flask-3-release-and-free-samples/) (September 2023)
11+
12+
- Require Werkzeug >= 3.0.0
13+
- Restructure the code and Blueprint classes
14+
- Deprecate the version attribute
15+
- Remove Deprecated Code
16+
17+
## **Flask 2.3.3 (August 2023)**
1118

1219
- Python 3.12 compatibility.
1320
- Require Werkzeug >= 2.3.7.

0 commit comments

Comments
 (0)