#12 Django tutorials | Passing Dynamic Data in Html part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ค. 2019
  • Code : github.com/navinreddy20/djang...
    Python Tutorials for beginner : bit.ly/2qfhUCp
    Django is a high-level Python-based free and open-source web framework, which follows the model-view-template (MVT) architectural pattern.
    It is maintained by the Django Software Foundation (DSF).
    Django's primary goal is to ease the creation of complex, database-driven websites.
    Some well-known sites that use Django include the Public Broadcasting Service, Instagram, Mozilla, The Washington Times, Disqus, Bitbucket, and Nextdoor.
    Github :- github.com/navinreddy20/Python-
    Editing Machines & Monitors :
    amzn.to/2HA6ra8
    amzn.to/2VMBBPw
    amzn.to/2RfKWgL
    amzn.to/2Q665JW
    amzn.to/2OUP21a.
    Check out our website: www.telusko.com
    courses.telusko.com
    Instagram : / navinreddy20
    Twitter : / navinreddy20
    Facebook:
    Telusko : / teluskolearn. .
    Navin Reddy : / navintelusko
    Subscribe to our other channel:
    Navin Reddy : / @navinreddy
    Telusko Hindi : / @teluskohindi
    Donation & Support:
    Indian Payment : www.instamojo.com/@NavinReddy/
    PayPal Id : navinreddy20
    Patreon : navinreddy20
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 121

  • @asishraz6173
    @asishraz6173 4 ปีที่แล้ว +4

    I am really enjoying learning Django through Telusko. I remember how I use to pronounce your channel name as "TELUSUKO" and not "TELUSKO". Then, I started learning deeply, I realized the channel name. Great platform to learn many technical topics. Thank you once again Naveen Reddy for sharing with all of us.

  • @pricecharts8676
    @pricecharts8676 3 ปีที่แล้ว +2

    Great presentation. You explain the concept and then you show us how to code it. Almost all other tutors show ONLY what to code. Thanks a lot

  • @smwasamsmwasam5734
    @smwasamsmwasam5734 5 ปีที่แล้ว +9

    Much appreciated, you have given us the ability to make a program from start to finish. I have been struggling on how to do this in Python. Once again a big THANKYOU.

  • @minakshee4672
    @minakshee4672 3 ปีที่แล้ว +2

    I want to give best teacher's award to you!!!!
    I learnt python from you
    Now learning django!
    Many many Thanks sir!!!!

  • @jaideepkhare5903
    @jaideepkhare5903 4 ปีที่แล้ว +2

    This is what I have always wanted! A complete tutorial which explains the theory along while working on a project live. Thanks for this!

  • @banaras.wala.foreignaala
    @banaras.wala.foreignaala 4 ปีที่แล้ว

    Dear Navin,
    Very simple way of describing the logic, I am loving it.
    Thanks

  • @amitsaket1982
    @amitsaket1982 5 ปีที่แล้ว +1

    Thanks Mr. Reddy sir, way of teaching very good...

  • @rangabharath4253
    @rangabharath4253 5 ปีที่แล้ว +1

    Thank you so much sir. Awesome video. Waiting for it. Keep doing . Thank you once again.

  • @shobhitranjan3957
    @shobhitranjan3957 4 ปีที่แล้ว +1

    I really appreciate your work sir!

  • @manpreetkaur6908
    @manpreetkaur6908 5 ปีที่แล้ว +1

    Was waiting for this eagerly

  • @princechand807
    @princechand807 3 ปีที่แล้ว

    thankyou so much sir ..much much appreciated ..huge respect from Nepal

  • @amarrokade1600
    @amarrokade1600 4 ปีที่แล้ว +4

    please help i got this error: "No name 'Destinations' in module 'travello.models'",

  • @codealong54
    @codealong54 5 ปีที่แล้ว +2

    Great Django Tutorial :)

  • @rockroll28
    @rockroll28 3 ปีที่แล้ว +1

    Let me tell you something: You are awesome. 👍👍

  • @sumanchauhan7648
    @sumanchauhan7648 5 ปีที่แล้ว

    not really related to it but wanted to ask something, I was wondering that like there are bugs and glitches in a game so are it easy to fix it using a debugger

  • @shubhamsoni8513
    @shubhamsoni8513 5 ปีที่แล้ว +1

    What course did you have done (degree)

  • @gangatravels3606
    @gangatravels3606 4 ปีที่แล้ว

    you are a great tutor sir .

  • @riyansh3396
    @riyansh3396 2 ปีที่แล้ว +1

    I have my images in static folder and I used

  • @brijeshpeshvani4490
    @brijeshpeshvani4490 4 ปีที่แล้ว

    Sir, i have created a new app similar to travello by installing new template from colorib... i kept that app seperately in different folder but than also i got the layouts and stylings of that travello template not my new template...how can i solve the issue...Please help me regarding this as quick as possible...

  • @eng.ahmedkhaled53
    @eng.ahmedkhaled53 5 ปีที่แล้ว +1

    Why we write class destination in model file we can do that in view file ?

  • @EnayathullahMohammedIbrahim
    @EnayathullahMohammedIbrahim 3 ปีที่แล้ว

    Good Teaching skills,

  • @tilting_cat3344
    @tilting_cat3344 3 ปีที่แล้ว

    @Telusko i want to ask if i have 2 user how do i make it so that 1st user fill a submission form to send it to the 2nd for confirmation,after confirmation the data in database is updated
    edit: in real life case it's like if in travel a user order a ticket with the ticket confirmed by admin then this transaction is recorded and inputted indatabase with stok of ticket reduced by 1
    sorry for commendting on old video pls help am confused

  • @yashm05
    @yashm05 4 ปีที่แล้ว +2

    I love the intro sound 😍 and teaching skills 💯

  • @story-stacks
    @story-stacks 4 ปีที่แล้ว

    hello sir your video is awesome !!! make more video django

  • @SHivam-id3ns
    @SHivam-id3ns 3 ปีที่แล้ว

    where should i define the other two objects if inthe destination then where should i call it like dest1

  • @gauripatil9425
    @gauripatil9425 3 ปีที่แล้ว

    Hello is it possible to create a dynamic table by taking data through presto query with API

  • @naveenkumarsharma6920
    @naveenkumarsharma6920 4 ปีที่แล้ว

    Great tutorial Sir!!!!!!!!!

  • @agyapalsingh2385
    @agyapalsingh2385 3 ปีที่แล้ว

    Is it possible to create a dynamic model using a txt file where ist line create header and other data

  • @codingriders8173
    @codingriders8173 3 ปีที่แล้ว

    Sir my testimonials are got hidden when i refresh to see the changes and when i open the server in new tab it will be displayed. But after refreshing it again i get it hidden again. Is there any error or it's server error..

  • @bharathwajan6079
    @bharathwajan6079 3 ปีที่แล้ว

    i am tring to import models which was in the same folder, by the following code
    from .models import func_name
    my vscode shows error like this
    error :attempted relative import with no known parent package
    but
    my django server Doesn't show me any error and running perfectly

  • @anjithaashokan2412
    @anjithaashokan2412 2 ปีที่แล้ว +1

    Sir I used to change the content but shows nthg it removed the content but nothing will show

  • @ManojKumar-dk8jd
    @ManojKumar-dk8jd 3 ปีที่แล้ว

    Can you make a video in django to pass comman data to header and footer template ( from a common file like helper ) so that we do not need to pass same data from every django funcations? I have not found this type video on youtube.

  • @karthikkanna6447
    @karthikkanna6447 5 ปีที่แล้ว +3

    Right now, I am learning Python from your classes. Should I learn HTML,MySql too develop an App? Thank you for your passion towards teaching.

  • @rohanraj4260
    @rohanraj4260 5 ปีที่แล้ว

    sir, how to make dependent dynamic dropdown list , fetch data form database

  • @nischalaks9838
    @nischalaks9838 5 ปีที่แล้ว +2

    Hi sir, can you please suggest some career options for ladies who took break for 6-7 years and wanted to start again. Please please reply me. I did Mca but I have a career break so I wana start my career now. So please suggest some career options which is easy to learn now and start my career. Please please do reply to my comment.

  • @kelecsenyizoltan274
    @kelecsenyizoltan274 11 หลายเดือนก่อน

    Thank you!

  • @shreyasingh542
    @shreyasingh542 3 ปีที่แล้ว

    In search of gold I found diamond! Thankyou sir

  • @Alliswelltoday
    @Alliswelltoday 5 ปีที่แล้ว +4

    without jinja code we can also give the pathe like href="static /styles/responsive.css'" insted of {% static 'styles/responsive.css' %} any performance or any difference , please replay me

    • @rounakghosh7177
      @rounakghosh7177 4 ปีที่แล้ว

      yes, you can give, and it will work perfectly fine, but the problem will happen when you would want to host it any live server. There wont be any path specified as /static

  • @Name-pn5rf
    @Name-pn5rf 4 ปีที่แล้ว

    On making a class, it gives an error in int and str

  • @alexikamran7039
    @alexikamran7039 3 หลายเดือนก่อน

    my index.html not working and not showing the full page. I have fixed the bug but seems to be not working.

  • @PritishMishra
    @PritishMishra 5 ปีที่แล้ว

    can anyone tell me what is wrong in the following line:
    search

  • @shyampatelsk1299
    @shyampatelsk1299 5 ปีที่แล้ว +1

    thank you sir for teaching python .
    sir i have one Doubt how can assign the image path in style ???

    • @its_me_nick
      @its_me_nick 3 ปีที่แล้ว

      style="background-image:url({% static 'images/intro.png' %})"

  • @Kuldeepsingh-br4pf
    @Kuldeepsingh-br4pf 4 ปีที่แล้ว

    Sir plz more video upload on django framework plz

  • @adityarauthan7675
    @adityarauthan7675 4 ปีที่แล้ว

    sir plz start advanced django tutorials asap......

  • @netsetos2897
    @netsetos2897 5 ปีที่แล้ว

    Hi good video

  • @amanjaiswal3261
    @amanjaiswal3261 3 ปีที่แล้ว

    how can i pass a string value from html page to views.py via urls.py, please help me sir.

  • @abhijeetshikharvlog1444
    @abhijeetshikharvlog1444 5 ปีที่แล้ว +3

    I got an error sir upload code on github

  • @RajaKumar-wh6vk
    @RajaKumar-wh6vk 4 ปีที่แล้ว +2

    Good evening Sir, a small error occurred , can you please solve it?
    from .models import Destination
    ImportError: cannot import name 'Destination' from 'travellor.models' (C:\Users\Raja Kumar\projects\telusko\travellor\models.py)

    • @dishantkumbhar8822
      @dishantkumbhar8822 3 ปีที่แล้ว +1

      I'm also facing this problem
      Plz help anyone

  • @abheermehrotra329
    @abheermehrotra329 3 หลายเดือนก่อน

    Thank youuuuuu sirrrrr

  • @miralmaradiya521
    @miralmaradiya521 3 ปีที่แล้ว +2

    I'm having an 404 error when i added static file in my project. I did everything mentioned in tutorials but nothing seem to work

    • @adi33242
      @adi33242 3 ปีที่แล้ว

      Yes, me too

    • @avinashmurali7636
      @avinashmurali7636 2 ปีที่แล้ว

      hey hi I too got the same problem and it took me few days to figure it out... see what it has been mentioned in the error because the line will not been mentioned there, search the word in index.html file, there you add static there... if you still have doubt in previous video he have uploaded the completed version compare it with your code..... Happy coding

  • @siddharthamukherjee9081
    @siddharthamukherjee9081 4 ปีที่แล้ว +3

    Sir, I have a request. can you please make a tutorial of how to access MongoDB in Django using djongo or pymongo

  • @elfakhiriabdeladim6967
    @elfakhiriabdeladim6967 7 วันที่ผ่านมา

    How can i pass django variable in css style?

  • @imzuyel
    @imzuyel 5 ปีที่แล้ว

    Thank you,,, #sir

  • @Muhammadwaseemkha9003
    @Muhammadwaseemkha9003 4 ปีที่แล้ว

    sir can we make proper models here

  • @opejoseph6814
    @opejoseph6814 4 ปีที่แล้ว

    Please your github code is not loading

  • @ishwarshelke128
    @ishwarshelke128 3 ปีที่แล้ว

    sir pls bring paid course on django with advance topics and 2-3 projects, I'd love to buy.

  • @agranshuaggarwal3947
    @agranshuaggarwal3947 4 ปีที่แล้ว

    thanks sr

  • @prajwalr3985
    @prajwalr3985 4 ปีที่แล้ว

    sir can we creat website which interacts with client using django

    • @thetechreview369
      @thetechreview369 4 ปีที่แล้ว

      no .. Django is server-side framework not client-side ….

  • @coolbuddy3277
    @coolbuddy3277 5 ปีที่แล้ว

    Bro,plz tell the computer programming languages to become software engineer in usa which is popular and evergreen,Plzz reply bro

    • @omerjaved774
      @omerjaved774 4 ปีที่แล้ว

      python
      Javascript
      Dart with Flutter

  • @divijaameta7759
    @divijaameta7759 4 ปีที่แล้ว +1

    How will be navigate from index to about please tell me that

    • @Name-pn5rf
      @Name-pn5rf 4 ปีที่แล้ว

      Same problem. Did you find out?

  • @rafiullahyusufzai3742
    @rafiullahyusufzai3742 2 ปีที่แล้ว

    Greetings Naveen Sir,
    I am new to django, I've followed your tutorial which was really helpful.
    I need your help as I am stacked in a problem.
    I have two models namely StudentInfo & StudentAdmission. student_id is a foreign key in StudentAdmission model. I want to display the values of both models together in one html table.
    How could I do that.

  • @umamaheshkummari7987
    @umamaheshkummari7987 5 ปีที่แล้ว

    do we need to keep comma while rendering.>>{'dest1':dest1},{'dest2':dest2}

  • @PritishMishra
    @PritishMishra 5 ปีที่แล้ว

    Sir I am getting a error in my terminal that Not Found: /images/intro.png
    this the line where I can see intro.png thi is the following line:
    So, please help me so can i continue learning your tutorial

    • @PritishMishra
      @PritishMishra 4 ปีที่แล้ว

      @Badar Munir Thank you....

    • @dishantkumbhar8822
      @dishantkumbhar8822 3 ปีที่แล้ว

      Add " static/images/intro.png "
      Just add static/ word before image in url

  • @nano1750
    @nano1750 5 ปีที่แล้ว +1

    Hi Sir,
    I had been working for 2+ years in software testing so currently
    I am planning to move in to software Development field
    I have Basic and hands on JAVA
    So please suggest me Best Programming Language to choose between Python / Java
    Aiming to work on website & Mobile Development
    Please suggest

    • @arifshaik4403
      @arifshaik4403 5 ปีที่แล้ว

      Python....

    • @nano1750
      @nano1750 5 ปีที่แล้ว

      Hi Sir
      Please Reply on my Query.

    • @arifshaik4403
      @arifshaik4403 5 ปีที่แล้ว

      @@nano1750 ....in present scenario python was best.....go with python

    • @aravindor
      @aravindor 5 ปีที่แล้ว

      @@arifshaik4403 he said mobile development too.. python is a terrible choice when it comes to mobile development .. ofcourse kivy is there to help you , but not the best choice when it comes to performance and community support .

    • @aravindor
      @aravindor 5 ปีที่แล้ว +1

      @@nano1750 if you already know java then you can learn android and start developing android apps right away .. if web development is ur goal , then learn front end html css js . For back end , python is trending , ruby is also cool . Java will also do the work for you . It's just your choice .
      If you wish to stick to java since u already know it, it's perfectly fine . Else learn python too .

  • @ajanonyvlog1559
    @ajanonyvlog1559 3 ปีที่แล้ว +1

    This not working anymore.

  • @tushargoyaliit
    @tushargoyaliit 5 ปีที่แล้ว

    from .models import DestinationImportError: cannot import name 'Destination' from 'travello.models' (C:\Users\lmd\project_django_again\telusko_\travello\models.py)

    • @abhishekshukla7466
      @abhishekshukla7466 5 ปีที่แล้ว

      change the name from Destination to Destinations ( it sounds weird) and then import the class again.. worked for me.

    • @dishantkumbhar8822
      @dishantkumbhar8822 3 ปีที่แล้ว

      Just have same name
      Ex- "Destination" name should same everywhere

  • @dhirendra9076
    @dhirendra9076 3 ปีที่แล้ว

    style="background-image:url({% static images/home_slider.jpg %})" i have error in static place so I am not using this statment

    • @manugoyal6836
      @manugoyal6836 3 ปีที่แล้ว

      try this , copy and paste .

    • @sahilbhende2197
      @sahilbhende2197 3 ปีที่แล้ว +2

      style="background-image:url(/static/images/home_slider.jpg)"

  • @sweekardahal9811
    @sweekardahal9811 4 ปีที่แล้ว

    sir we can't load anything by using {% load static %}
    "{% static 'images/plugin/image23.jpg' %}"
    there are more errors then before using this please sir we are stuck on there .
    please help us .

    • @palaksharma5622
      @palaksharma5622 4 ปีที่แล้ว

      add jinja extension

    • @sweekardahal9811
      @sweekardahal9811 4 ปีที่แล้ว

      No i did that too . Added te jinja extensions too . But it's not loading the images, css ,

    • @dishantkumbhar8822
      @dishantkumbhar8822 3 ปีที่แล้ว

      Just add static/ word in beginning of
      every image url
      That's it

    • @sweekardahal9811
      @sweekardahal9811 3 ปีที่แล้ว

      No actually i made templates inside each app and specified templates there and it worked fine .
      Thank you guys for your help .

  • @ankitdubey6899
    @ankitdubey6899 3 ปีที่แล้ว

    This is what error I am getting, cannot import name Destination

    • @hanumantyadav9046
      @hanumantyadav9046 3 ปีที่แล้ว

      Add import destination on top of the settings file

  • @pranatoshsatpati3215
    @pranatoshsatpati3215 5 ปีที่แล้ว

    Kini wa watashi no sensei desu

  • @nibeditabehera2723
    @nibeditabehera2723 2 ปีที่แล้ว

    This is from Infosys lex course 😵

  • @F16AmirYT
    @F16AmirYT ปีที่แล้ว

    142,742 views and total like 1.6k 😵‍💫

  • @adarshkanojia4192
    @adarshkanojia4192 5 ปีที่แล้ว

    Sir please mysql

  • @vipin2356
    @vipin2356 4 ปีที่แล้ว +2

    Welcome back aliens 😂😂😂

  • @PritishMishra
    @PritishMishra 5 ปีที่แล้ว +1

    sir can you please give the code of index.html....??

  • @thetechreview369
    @thetechreview369 4 ปีที่แล้ว +1

    ba-bye 🤣🤣