Lädt...

🔧 My Django Training


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

setting up my environment
I already had python installed on my PC and I use VS code virtual environment so I set up my django environment by typing the following commands on my console
1.pip install Django: This step downloads and installs Django in the VS code environment
2.pip install pipenv: It installs the "pipenv package which will be used to launch and build the application
3.pipenv shell: It sets up the folder in which the apps will be created
4.pipenv install Django:It installs and setsup Django in the created folder

Starting my first project
To start my project, I typed the command "Django-admin startproject camerapp" and this created a Folder "camerapp" which contained folders

Image description and it also created a file called "manage.py"

Image description

I learnt that Django is divided into three parts which are view,models (MVT architecture) and templates which can each be manipulated by the files created when I used the Django-admin command.

Image description

Creating The application
To start the application's creation I typed the command "python manage.py startapp cammap". Cammap was the name of the application I aimed at creating and contained the following files

Image description

That was the last step in setting up my environment and creating the basic foundation of the project for my first weak.

Image description
I encountered no errors so far so the first week has been a success

...

🔧 Announcing my new Django package: django-admin-export! #packaging #python #django


📈 28.28 Punkte
🔧 Programmierung

🕵️ Django 1.8.1/1.8.2/1.8.6/1.9 django.utils.http.is_safe_url() Cross Site Scripting


📈 18.85 Punkte
🕵️ Sicherheitslücken

🕵️ Low CVE-2021-21416: Django-registration project Django-registration


📈 18.85 Punkte
🕵️ Sicherheitslücken

🔧 Django Structured JSON Field: Unleashing the Power of Validated JSON in Django


📈 18.85 Punkte
🔧 Programmierung

🔧 Using Django-Q to Schedule and Automate Tasks in Django


📈 18.85 Punkte
🔧 Programmierung

🔧 Django AllAuth Chapter 5 - Extending Django AllAuth user model with custom fields


📈 18.85 Punkte
🔧 Programmierung

🕵️ Django up to 2.2.17/3.0.11/3.1.5 Archive django.utils.archive.extract path traversal


📈 18.85 Punkte
🕵️ Sicherheitslücken

🔧 Optimize your Django Application with Asynchronous tasks and Django-Q


📈 18.85 Punkte
🔧 Programmierung

📰 Is Django Unchained on Netflix? How to Watch Django Unchained from Anywhere


📈 18.85 Punkte
🖥️ Betriebssysteme

🔧 Django Task Manager: Built in a Day with Django


📈 18.85 Punkte
🔧 Programmierung

🔧 RESTful API in Django [Django Rest Framework]


📈 18.85 Punkte
🔧 Programmierung

🔧 Django AllAuth Chapter 4 - Customizing Django AllAuth UI


📈 18.85 Punkte
🔧 Programmierung

🕵️ Django up to 1.11.18/2.0.10/2.1.5 django.utils.numberformat.format() denial of service


📈 18.85 Punkte
🕵️ Sicherheitslücken

🔧 Transform Your Django Images with django-imagekit


📈 18.85 Punkte
🔧 Programmierung

🔧 A Beginner’s Guide to Django Web Framework: Django from Novice to Expert


📈 18.85 Punkte
🔧 Programmierung

🕵️ Medium CVE-2019-10682: Django-nopassword project Django-nopassword


📈 18.85 Punkte
🕵️ Sicherheitslücken

🔧 Creating a To-Do app with Django and HTMX - Part 1: Creating the Django project with uv


📈 18.85 Punkte
🔧 Programmierung

🔧 PostgreSQL für django aufsetzen - django in Produktion (Teil 2)


📈 18.85 Punkte
🔧 Programmierung

🔧 Django AllAuth Chapter 3 - Social login with Django AllAuth


📈 18.85 Punkte
🔧 Programmierung

🕵️ Django up to 1.11.14/2.0.7 django.middleware.common.CommonMiddleware Open Redirect


📈 18.85 Punkte
🕵️ Sicherheitslücken

🔧 Integrate React into Django Seamlessly with the reactify-django CLI


📈 18.85 Punkte
🔧 Programmierung

🔧 Login with OTP Authentication in Django and Django REST Framework


📈 18.85 Punkte
🔧 Programmierung

🔧 Crafting Modern Web APIs with Django and Django REST Framework: A Comprehensive Guide


📈 18.85 Punkte
🔧 Programmierung

🔧 Integrate React into Django Seamlessly with the reactify-django CLI


📈 18.85 Punkte
🔧 Programmierung

🔧 Django-Sonar: The Essential Debugging Tool for Django


📈 18.85 Punkte
🔧 Programmierung

🕵️ Django up to 1.8.17/1.9.12/1.10.6 django.utils.http.is_safe_url cross site scripting


📈 18.85 Punkte
🕵️ Sicherheitslücken

🔧 Deploy a Django App from GitHub on AWS Lightsail Using the Bitnami Django Stack


📈 18.85 Punkte
🔧 Programmierung

matomo