Views & Urls In Django| Python Django Tutorials In Hindi #5

preview_player
Показать описание


Best Hindi Videos For Learning Programming:

Follow Me On Social Media
Рекомендации по теме
Комментарии
Автор

If you really want me to make a social networking website in Django in one video, share this Django series everywhere!
I will definitely make a video explaining social networking website development in one video if I get 500+ shares on my playlist!
Thanks a lot in advance to all those who shared!

CodeWithHarry
Автор

Tried Udemy, Lynda and everything and was facing difficulty in even understanding simple things. By luck i came here and I am stuck here. So amazing quality content. You ARE UNDERRATED

harshitrajrocks
Автор

def index(request):
file = open("1.txt", 'r+')
return HttpResponse(file.read()),
This is a piece of code for the assignment task.

nothingwrong
Автор

9:45
def index(request):
with open('../1.txt') as file:
data = file.read()
return HttpResponse(data)

ashishsingla
Автор

Def funtext(request):
file = open('pathofthetext', 'r')
Content = file.read()
file.close()
return httpresponse(content, content_type = 'text/plain')

techsupport
Автор

def index(request):
with open('textutils/file.txt', 'r') as rm:
return HttpResponse(rm.read())

wajidshaikh
Автор

from django.http import HttpResponse
def index(request):
with open("filepath/one.txt") as f:
a = f.read()
return HttpResponse(a)

rahulshukla
Автор

I do your quiz by creating a text file and make a function name test in views file and then use file handling and do like
def test(request):
f1 = open("first.txt", "r")
return HttpResponse("<h1> %s <h1>" % (f1.read()))

starboy_jb
Автор

apke videoes and explaning ka tarika bhut hi majedar h ..keep on harry sir.

anshultripathi
Автор

PycharmProjects\textutils>cd textutils
than you enter to thanks haarry bro

abrarfahim
Автор

def index(request):
with open("1.txt", "r") as f: # Opening the file in read mode, we don't use r+ because file already exists, r+ is used when file doesn't exists then assigning it a variable named f
content = f.read() # Reading the contents of the file and storing it in a variable, we use read instead of readlines because readlines gives each line as a list element
return HttpResponse(content)

notrudraxd
Автор

Wow 👍 I'm very excited for next video. because every day i learn something new. Good job Harry bhai :)

sumanghorui
Автор

def goal(request):
fp = open("sahilsite/one.txt", "r")
f = fp.read()
fp.close()
return HttpResponse(f)

SahilKumar-rzth
Автор

bhai textutills k andar textutills file ko open karne k liye kya command hogi .becasuse jab m manage.py runserver kar rha hu to error aa rhah

shubhamsharma
Автор

Bhai well Done bhai kyaa Explain karte hoo bhaiiii questions remaining to do google after watching your Videos

AatifRazaKagzi
Автор

Bhai ... Seriously..you have awsm.. teaching skills..

faizmohammad
Автор

def index(request):
f=open("D:\\Django
c = f.read()
return HttpResponse(c)
Harry bhai work done successfully.

anuragdewarde
Автор

samaj aa raha hai dhere dhere, Thanks Harray Bhaii

sourav
Автор

thank you so much harry, tumhari excitement aur passion k bayehse ye sikhne mein aur bhi majha ata hai

pranavyeole
Автор

i was stuck with view and url you explained it perfectly
thankyou

kunaldange