#djangoTutorial Etiketinde En Popüler Paylaşımlar
4️⃣ Designing URLs and views
4/ test your new view
Run server
./manage.py runserver 10000
visit http://127.0.0.1:10000/
You should see the following output
#learndjangotutorial #Python #DjangoTutorial #SoftwareEngineering #SoftwareDevelopment

4️⃣ Designing URLs and views
1/ create a simple view
open file ldt/apps/core/views.py
#learndjangotutorial #Python #DjangoTutorial #SoftwareEngineering #SoftwareDevelopment

3️⃣ Building models and connecting to a database
5/ add data
./manage.py shell
from ldt.apps.core.models import Contact
Contact.objects.create(name='Jon Smith', email='[email protected]', text='Hello')
Contact.objects.all()
#learndjangotutorial #Python #DjangoTutorial #django

3️⃣ Building models and connecting to a database
4/ create migration and migrate
Make sure you are in the root directory where the file https://t.co/6Zv7cX1mjk is.
./manage.py makemigrations
./manage.py migrate
#learndjangotutorial #Python #DjangoTutorial #SoftwareDevelopment

3️⃣ Building models and connecting to a database
3/ define your model
go to ldt/apps/core/models.py
#learndjangotutorial #Python #DjangoTutorial #SoftwareEngineering #SoftwareDevelopment

3️⃣ Building models and connecting to a database
2/ add your app
In your https://t.co/NrulIw0HaI add 'ldt.apps.core'
and in apps/core/apps.py
change name to 'ldt.apps.core'
#learndjangotutorial #Python #DjangoTutorial #SoftwareEngineering #SoftwareDevelopment

3️⃣ Building models and connecting to a database
1/ Create own app
#learndjangotutorial #Python #DjangoTutorial
mkdir <name>/apps
touch <name>/apps/__init__.py
cd <name>/apps
django-admin startapp core

2️⃣ Creating a Django project
#learndjangotutorial #Python #DjangoTutorial
1/
//install most recent version of django
pip install django
django-admin createproject <name>
change into <name>
//Run
python https://t.co/6Zv7cX1mjk migrate
python https://t.co/6Zv7cX1mjk runserver
↓

1️⃣ Setting up a development environment
3/Virtual environment
#learndjangotutorial #Python #DjangoTutorial
python3.xx -m venv <env_name>
python3.11 -m venv <env_name>
#Windows
env_name/Scripts/activate.bat
#Linux/#Mac
source env_name/bin/activate
pip install django
1️⃣ Setting up a development environment
2/ Tips
#bestpractices #Python #DjangoTutorial
pyenv #Windows
//Install a specific version
pyenv install <version>
//Set specific version
pyenv global <version>
//show installed versions
pyenv versions
python -V

1️⃣ Setting up a development environment
1/
#learndjangotutorial #Python #DjangoTutorial
Download recent version of python on https://t.co/Qoq24nZMJH
🐍🌐 Exciting News! Learn Django, the Python web framework, with an easy-to-follow tutorial! 🎉✨ Whether you're a beginner or an experienced developer, this guide will help you build web applications with ease. Let's get started! 🚀 #Python #DjangoTutorial

Just finished watching the 'Django Tutorial for Beginners' by Telusko(@navinreddy20) and it's a great resource for anyone looking to clear their basics on Django! Highly recommend it for those starting out with web development. #DjangoTutorial #WebDevelopment #django #Python

İlan Sitesi Yapımı - Kullanıcı Kayıt İşlemi
#django , #djangotutorial , #djangodersleri
https://t.co/cyaDhtlAGr
In this video, I am going to explain to you reusable templates and forms in Django.
To know more: https://t.co/jny0nl1haj
#Django #Reusabletemplates #Djangotutorial #artificialintelligence #deeplearning #machinelearning #tensorflow #deepinsightofAI
Do you need to have your #Django #app sending #emails? Check out our #guide on how to do this using different functions and out-of-the-box packages. #CodeSamples included!
#emailtesting #emailsending #djangotutorial https://t.co/VOBb6GIo9t
Learn to develop #webapplications for free using #Django, through this tutorial at #tutorialspoint. https://t.co/D49sQ6ggYB
@tutorialspoint
#Django, #DjangoTutorial, #DjangoOverview, #DjangoTutorialforbeginners, #DjangoIntroducation.

Sotwe'de En Son Görülen Etiketler
teenagerrr
Son görüldüğü yer United Kingdom
MadreHijo
Son görüldüğü yer United States
mgai within_time:30m filter:native_video
Son görüldüğü yer United States
范冰冰
Son görüldüğü yer Japan
误认
Son görüldüğü yer Brazil
本田もも
Son görüldüğü yer Japan
Schlep
Son görüldüğü yer Canada
NIĞDESEKS
Son görüldüğü yer Turkey
Moiarte3d
Son görüldüğü yer United States
minichat
Son görüldüğü yer United Kingdom
Senin İçin Trendler
En Popüler Kullanıcılar

Elon Musk 
@elonmusk
239.3M takipçi

Barack Obama 
@barackobama
118.5M takipçi

Cristiano Ronaldo 
@cristiano
114.3M takipçi

Donald J. Trump 
@realdonaldtrump
111.7M takipçi

Narendra Modi 
@narendramodi
106.9M takipçi

Rihanna 
@rihanna
98.6M takipçi

NASA 
@nasa
92M takipçi

Justin Bieber 
@justinbieber
91.7M takipçi

KATY PERRY 
@katyperry
89.9M takipçi

Taylor Swift 
@taylorswift13
83.9M takipçi

Lady Gaga 
@ladygaga
75.4M takipçi

Virat Kohli 
@imvkohli
73.3M takipçi

Kim Kardashian 
@kimkardashian
70.8M takipçi

YouTube 
@youtube
68.6M takipçi

Neymar Jr 
@neymarjr
66.3M takipçi

Bill Gates 
@billgates
65.1M takipçi

Selena Gomez 
@selenagomez
63M takipçi

The Ellen Show
@theellenshow
62.1M takipçi

CNN 
@cnn
61.6M takipçi

X 
@x
60.6M takipçi






