Create Update & Delete (CRUD) with Model Forms | Django (3.0) Crash Course Tutorials (pt 10)

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 306

  • @DennisIvy
    @DennisIvy  2 месяца назад

    Don't forget to check out my Complete Django course! dub.sh/NvGboTI

  • @MuhammadMahirQ8
    @MuhammadMahirQ8 4 года назад +92

    Loving every second of this playlist. Keep it up

  • @RahulSoni-km6oc
    @RahulSoni-km6oc 3 года назад +11

    Learnt Django from your 10 videos and got an internship, today was day 1. thanks dennis

    • @NishantCosmos
      @NishantCosmos 2 года назад +1

      whahat

    • @NishantCosmos
      @NishantCosmos 2 года назад +1

      are you serious, i think you already knew something so you learned and got internship faster

    • @RahulSoni-km6oc
      @RahulSoni-km6oc 2 года назад +1

      @@NishantCosmos i knew programming already, his videos helped with getting started in django, with that my basics were cleared, internship task was assigned that I completed in django so yea,these videos were catalyst in whole process.
      P.s. if you need any help in it ping me

    • @NishantCosmos
      @NishantCosmos 2 года назад +1

      @@RahulSoni-km6oc absolutely, gimme ur linkedin or insta etc, :]

    • @dedded6840
      @dedded6840 2 года назад

      how's you journey in programming since then?

  • @ankitanand2411
    @ankitanand2411 4 года назад +4

    for update_order and create customer i have faces issues
    Reverse for 'create_order' with no arguments not found. 1 pattern(s) tried: ['create_order/(?P[^/]+)/$']
    help me

    • @christianvillegas3063
      @christianvillegas3063 4 года назад

      Yes me too.. I'm stuck in that until now

    • @tilting_cat3344
      @tilting_cat3344 4 года назад

      @@codeitwitharmaghan7086 dude help
      for some reason i can't output data from video tutorial part 9 where he does customer = Customer.objects.get(id=pk)
      i can't even get the customer.name to show up but i can still open the page of customer/1/ it doesn't show any syntax error in powershell

  • @GabrielRibeiro-xr3bx
    @GabrielRibeiro-xr3bx 4 года назад +6

    Hey man,
    The best about your tutorials is that you show the errors. Sometimes that`s more important for the learning process than the rest. Specially to me, as a complete begginer, sometimes a mispelled word makes me break my head, as I have not yet gained the ability to understand the complete inner works of the code. Showing the little errors you make, makes me more skilled to deal with my own, I guess.
    Thanks for the amazing work.

  • @kenhammond7061
    @kenhammond7061 4 года назад +3

    Dennis in your version, you don't use the value="submit" but when I don't have the value submit the button shows up as Submit query interesting

  • @abbasbakelli4605
    @abbasbakelli4605 4 года назад +5

    I loving every second of this playlist Thank You, Dennis! You're the best!!

  • @kona7805
    @kona7805 4 года назад +7

    You're the best!! I'm so glad you made these videos. Just in time since I have to build a quick project and Django is just amazing. I thought it would be harder to use but you explain it so well. Thanks!

    • @DennisIvy
      @DennisIvy  4 года назад +2

      Love it! So glad its easy to understand, best of luck with your project :)

  • @rijalefendi6465
    @rijalefendi6465 4 года назад +5

    keep up the good work, man. i'm in love with ur tutorials. but why u use model form instead of class based view? bcos u said earlier u'd explain it later but i didnt catch u mention in this video.

  • @mohamedoubakri8214
    @mohamedoubakri8214 4 года назад +6

    You're the best!! I'm so glad you made these videos. you explain it so well. Thanks!

  • @TjaartSwanepoel
    @TjaartSwanepoel 4 года назад +5

    Dude, your content is brilliant. Thanks. Keep 'em coming. IDEA for a video, please consider doing a video on form elements like custom radio buttons and check boxes as well as date and time pickers. You could also please do a video on drop down boxes that refresh one another, like when you select a category, the second dropdown is refreshed with its sub categpries etc and then the products of that sub category(actually currently struggling with that one).

    • @DennisIvy
      @DennisIvy  4 года назад +1

      Thank you Tjaart! Pretty much everything you mentioned is on my todo list :) These are all things I struggled with when I first started. I wanted to make them into their own separate videos so I can cover each concept thoroughly.

    • @TjaartSwanepoel
      @TjaartSwanepoel 4 года назад

      @@DennisIvy Cant wait, keep it up, your content is making is difference in my dev learning path. THANK YOU

  • @akash4952
    @akash4952 4 года назад +2

    can plz anyone help me this is the first time i got stucked in a video since the video one of this playlist i am getting a reverse error
    like this:
    Reverse for 'update_order' with arguments '('',)' not found. 1 pattern(s) tried: ['update_order/(?P[0-9]+)/$']
    plz help me i am not able to move ahead

    • @idontknowserj2862
      @idontknowserj2862 4 года назад

      Try to change the order of views. Actually 'orderView' before 'createOrder' made it work for me.

    • @jadynchowdhury680
      @jadynchowdhury680 4 года назад

      I found a solution. When referencing a model in html the function {% for x in y %}. This means when referencing in the href, you have to use x not y. For example href="{% url 'path' pk=x.id %}. Hope this helps. Any questions just reply. :)

    • @Node2020
      @Node2020 3 года назад

      @@jadynchowdhury680 not working friend

    • @jadynchowdhury680
      @jadynchowdhury680 3 года назад

      @@Node2020 I cant think of anything else. It worked for me on similar issues elsewhere. Just run through your code again. Could be something small you missed. Easy thing to do with a project this big so don’t worry. Just take your time. Good luck

    • @Node2020
      @Node2020 3 года назад

      @@jadynchowdhury680 I understood, but what is this order.id attribute where can I look for an analogue? thanks

  • @elnazdehkharghani6121
    @elnazdehkharghani6121 4 года назад +4

    Dear Dennis, I have finished this video till at the end of it but I have got a problem with order_form.html. I can not see my form fields there. I can only see forms attributes name there in disable formats without any drop-down menu :( my output is only theses in grey and disabled: ==> (Customer: Product: Status:)

    • @dheerajlalwani4486
      @dheerajlalwani4486 4 года назад

      I too am facing this problem. What might be the issue??
      Anybody has a solution?

    • @povilaskirna4108
      @povilaskirna4108 4 года назад

      In my case it was that i wrote {'context':context} in the views.py but when i changed just to context it worked

  • @sakshamkapoor5905
    @sakshamkapoor5905 4 года назад +3

    WOWOWOWOW! Much Respect to you Dennis!! Following you since 2k subs, long long way to go!

  • @aishu812
    @aishu812 4 года назад +1

    hello brother, I got one exception that is NoReverseMatch exception while updating the order with instant customer details....[Reverse for 'update_order' with arguments '('',)' not found. 1 pattern(s) tried: ['update_order/(?P[^/]+)/$']..Kindly guide me to overcome this type of error ..

    • @GeanCarlos-yu5yh
      @GeanCarlos-yu5yh 4 года назад

      Hey brother, alter line in dashboard.html Update, you forgot it order.id

    • @janettaylor260
      @janettaylor260 3 года назад

      @O. R.C Thank you so much, I have been struggling with exactly the same issue. I left mine as i in phones (I'm making a mobile phone model) but have now changed it to phones in phones and everything works.

    • @Node2020
      @Node2020 3 года назад

      @O. R.C plz tell me what is order id, i see not all curs only i need themse, how i fix this error

  • @josephmbote4167
    @josephmbote4167 3 года назад +2

    I Just love this tutorials , My skills improving very fast ... Feeling more comfortable and finding it too fun working with Django

  • @nihalsaket
    @nihalsaket 4 года назад +4

    Great content overall. However, I found following a lot of things in this particular video (pt 10) a bit tricky. What I really like about your Django tutorial is that you explain every syntax/keyword you write. Found you rushing from 9:00 to 12:00 in (pt 10). Would be great if you can post an explainer video for pt 10 in case you have the bandwidth to do so.

    • @ionutmuntean2177
      @ionutmuntean2177 2 года назад

      yeah, at 08:25 I didn't understand either why the if-check if we know that we always get a POST request?

  • @aliasgar.burhani1099
    @aliasgar.burhani1099 4 года назад +1

    Papa Django keep it up!!

  • @theanonymous92
    @theanonymous92 10 месяцев назад +1

    THANK YOU SO MUCH for such a clear explanation, I had been struggling with the concepts of built-in forms why would i use it and most importantly HOW? Thanks to your video now I know

  • @adityamahajan1238
    @adityamahajan1238 3 года назад +2

    This was really a nice work, I really liked the way you take things from very basic to advanced level, also thanks for not having a sophisticated front end, I was using basic HTML so was able to follow, lol! One thing that helped me was how you used POST method to make a PATCH request. Another thing you can add is to PATCH only few fields in our model, I did by creating a second form and inheriting required fields from the model, is there any other way to do that without creating another form?

  • @jadynchowdhury680
    @jadynchowdhury680 4 года назад +1

    Lving your videos. They are very helpful. I am stuck on this video with the update function. I keep getting an error 'Reverse for 'url' with arguments '('',)' not found. 1 pattern(s) tried:'. I have looked online but found no solution. Any suggestions?

  • @yoip1234
    @yoip1234 Год назад +2

    Thank you Dennis for running this series. It's one of the best tutorials that I have seen. You have done a great job!

  • @carlthecruz
    @carlthecruz 4 года назад +3

    Thank you for making me understand Modelforms much more clearly now. Thank you!!!!!!!!!

  • @Ashlin63
    @Ashlin63 4 года назад +3

    Hi Dennis, Just want to thank you for the amazing contents you've uploaded.

  • @santanu8899
    @santanu8899 2 года назад +1

    Love you bro ❤️❤️❤️.
    It is the best django tutorial series on RUclips I have ever seen.
    Love from India ❤️👍.

  • @dannyargueta5821
    @dannyargueta5821 4 года назад +1

    Great video ! I want to know how to make an update without passing the id though the url. I think this could be unsecured cuz everyone can type some ramdom id and get access to ramdom row from the database, same as Delete process. so if you can help me with this I'll really appreciate it. thank you so much

  • @danilotavares77
    @danilotavares77 Год назад +1

    Hi Dennis! Thank you for you videos. They are really helpful.
    One question, if I may: in a case that you need to create a register using a form that has require foreign key field in the model, would you use the model form? How to handle the situation when you need to create not just the record for the main form bu also a new register in the foreign table?

  • @fahanfarooq3844
    @fahanfarooq3844 4 года назад +1

    if request.method =="POST" doesn't do anything
    but "GET" does work for delete button
    but using "GET" then doesn't show the delete page instead it just deletes the entry !

  • @looyeeng9946
    @looyeeng9946 3 года назад +1

    0:01 Introduction
    0:49 Template setup
    4:14 Create a form using model form
    7:00 Create an item
    11:52 Update an item
    16:31 Delete an item
    22:29 Styling & What's next
    Note: www.notion.so/10-Create-Update-Delete-CRUD-with-Model-Forms-a90dd9d01854461ca270190d6fcf3a9c

  • @Serwik42
    @Serwik42 3 года назад +2

    You saved my entire life bro I love you

  • @forhadrahman9459
    @forhadrahman9459 4 года назад +1

    Thank you for this wonderful tutorial. But I have question if I want to show only one customer name(current logged in customer) from foreign key then how can I do that? can you please help?

  • @aleksandarradovic2960
    @aleksandarradovic2960 3 года назад +1

    Thank you so much for these videos! I just have one question:
    Should paths in urls.py be with dashes or underscores? Those paths are displayed in the web address later on, and djangoproject website has dashes in their website instead of underscores.
    I cannot find a definitive clear answer on the web, but my guess is that dashes are preferred. Example:
    path('create-order'...) instead of path('create_order'...).

  • @itsjustme5938
    @itsjustme5938 4 года назад +1

    thank you soo much
    can someone please help me
    how can i redirect the user back to the previous page after updating customer?

  • @jmmacatangay_grizzlybear
    @jmmacatangay_grizzlybear 4 года назад +1

    you didn't do the first second of the video in which the Customer name is shown. I tried doing that but it doesn't work in order_form,html I typed
    Customer: {{order.customer.name}}
    {% csrf_token %}
    {{ formset.management_form }}
    {% for form in formset %}
    {{form}}
    {% endfor %}

    and it didn't work

    • @elnazdehkharghani6121
      @elnazdehkharghani6121 4 года назад

      Me too, if you find it out, please let me know how you have solved the problem...

    • @jmmacatangay_grizzlybear
      @jmmacatangay_grizzlybear 4 года назад

      ​@@elnazdehkharghani6121 I figured it out.
      in the views, your def createOrder
      customer = Customer.objects.get(id=pk)
      add the variable name inside the context.
      context = { 'customer':customer }
      and in your order_form
      just call it something like this ...
      Customer: {{ customer.name }}

  • @mhsyf
    @mhsyf 3 года назад +1

    Need help for this. I was following the tutorial up to the point where the create order has been created at 4:15. Have been stuck on this particular error for awhile and cant seem to move past this .
    ModuleNotFoundError: No module named 'accounts.forms'

    • @vishalvishwakarma8276
      @vishalvishwakarma8276 3 года назад

      looks like you didn't import somethings

    • @mhsyf
      @mhsyf 3 года назад +1

      Found the issue. Apparently my forms.py was in the wrong directory

  • @ivaylooo
    @ivaylooo 3 года назад +1

    Would be good to have a tutorial on CRUD with CBV. :)

  • @damilareadeniyi1195
    @damilareadeniyi1195 4 года назад +1

    I really like your series I watched a bunch of other tutorial and did not understand much. They gloss over a lot of things and don't explain it well for beginners. I think the fact that you are self taught makes it easier to understand most people situation.

  • @cheick-raimanesoro9926
    @cheick-raimanesoro9926 4 года назад +1

    You are the best. Since this morning I'm just watching your videos.
    There are like movies.
    Thank you for making learning so cool.

  • @juanespinosareinoso7094
    @juanespinosareinoso7094 3 года назад +1

    I really like your tutorial. Kudos Dennis for the great work. Keep your amazing work.
    I have a question: In the tutorial you are creating an "createOrder view" from the admin/general dashboard. How about if you are inside a user-info view (only the user info appears when they login), how should be the view if the user wants to create an order? I am a little bit confused on how to call the orders for that specific user to create a new order. Thank you so much in advance.

  • @danielqba
    @danielqba 4 года назад +2

    I can't believe that way of handling forms. Django is so powerful! Thanks for this playlist!

  • @suyyrep
    @suyyrep Год назад

    Question
    Can i use Order.objects.filter(id=order.id).update(...
    In my views?
    If I have a {% for order in orders %} {% csrf_token %}

  • @shashankpandey1966
    @shashankpandey1966 3 года назад

    Field 'id' expected a number but got "{ url 'delete_order' item.id %}".....hey man...look into this..please help.

  • @shashankpandey1966
    @shashankpandey1966 3 года назад

    Field 'id' expected a number but got "{ url 'delete_order' item.id %}".....hey man...look into this..please help.

  • @benjaminandoh8524
    @benjaminandoh8524 4 года назад +1

    Benjamin Andoh
    1 second ago
    Hello, Dennis, I am having a routing issue here. it is finding the solution that lead me to your tutorials. so I decided to follow your tutorial end to end, but I am still suffering from the same issue. the issue is, in your tutorial, when I click on the views (in the customer section) on the dashboard it doesn't take me to the customer detail (that specific customer page) when an id is included, it rather gives me this error ""NoReverseMatch at /customer
    Reverse for 'customer' with arguments '(1,)' not found. 1 pattern(s) tried: ['customer']"" but when i remove the cus.id from the rout it works. in a sense, I am not able to navigate to any other page but the dashboard. can you please help me solve this cos I have tried a lot of solutions and none seems to work

    • @kirsten9629
      @kirsten9629 2 года назад

      I had the same issue and my solution may not work for you but it's worth a shot. In this video he uses the keyword instance in his views and instance only works for forms.ModelForm and not forms.Form.

  • @ionutmuntean2177
    @ionutmuntean2177 2 года назад

    At 08:25 I didn't understand: why the if-check if we know that we always get a POST request?
    EDIT: I think I got it (actually this is a bit of a revelation for me, hopefully it helps other people that are just starting with web development, too)
    The way I answered myself is as follows: basically, with any URL that you access in this whole wide world YOU FIRST MAKE A GET request. And so - in our case - the first time you actually access "/create_order" you actually do not want to make any modifications to the DB, but what you'd rather want is for the form to be displayed to you, so that you AFTERWARDS CAN actually fill the form and then click submit which then in turn sends a POST method, which makes our app access the same createOrder again but this time with a POST request, thus the flow of the code will enter the if-check there.

  • @mohamedelmabrouki512
    @mohamedelmabrouki512 3 года назад

    the update function is not working. it gives me an error (Using the URLconf defined in ormvaoz.urls, Django tried these URL patterns, in this order:
    admin/
    [name='home']
    create [name='create']
    update// [name='update']
    The current path, update, didn't match any of these.) help please i tried every thing .

  • @kirillp5222
    @kirillp5222 3 года назад +1

    very nice, thx

  • @parthaprateempatra4278
    @parthaprateempatra4278 4 года назад +1

    This is a very nice video which doesn't use generic classes for CRUD instead makes everything from scratch to allow more flexibility

  • @parthjani8301
    @parthjani8301 4 года назад +2

    Dennis, you do very good work for Entry + Pro. level developer.your all video very helpful, your explanation is excellent and easy to understand, Love from INDIA.

    • @DennisIvy
      @DennisIvy  4 года назад +1

      Thank you! I try to keeps things as simple as possible :)

    • @parthjani8301
      @parthjani8301 4 года назад

      @@DennisIvy Try to make a video on Django+Javascript, mostly real-life projects in Django, lots of use Custome JS + Ajax.

    • @DennisIvy
      @DennisIvy  4 года назад +4

      Yes I agree. Keeping things simple with as much vanilla Django as possible but we will be using lots of JS in the next projects. I plan on making a rest API course and then using that api to render data for a twitter clone app :)

    • @parthjani8301
      @parthjani8301 4 года назад

      @@DennisIvy Superb, I eagerly waiting for Rest API Course.

  • @wasifnadeem6209
    @wasifnadeem6209 2 года назад

    Sir, If I am not using forms, and doing the forms conventional way by creating them as input and text-area fields in HTML, bc i don't want user to select from some specific options. I want user to be able to input any arbitrary values in them, and I need some styling in my form as well; then how can I go along with update method, I mean how can I show template with pre-filled values! and update them later on!

  • @kona7805
    @kona7805 4 года назад +1

    Thanks again, Dennis.
    Just one question, how can I style every single field of the form separately?
    Insted of adding the whole form with {{}}, is there a way to add each field separately on the HTML template to stylize them with Bootstrap or CSS?

  • @jrborquez
    @jrborquez 11 месяцев назад

    in Update, instance=order doesn´t work, request.POST values are inmutable, how did you make it work? without the save if statements it works fine.

  • @bibekjoshi34
    @bibekjoshi34 2 года назад

    hello sir ! i want to create (delete and update) functionality to products page where we can delete and update our products.. how can we do it with id or without ID........... im getting error .... i have added update and delete ... delete is working for deleting all the products at onces and update is creating new product ? can you please help me ??
    I also want to share my code photos ? where i can ?
    waiting for your reply......................;)

  • @nhfx2261
    @nhfx2261 8 месяцев назад

    in time 6:12
    Why you used ""Class Meta:""
    can you please explain it?

  • @arvinthevar8263
    @arvinthevar8263 2 года назад

    I can't submit the order for some reason. My codes are exactly the same but nothing happens when i click the submit button. Help please

  • @harshitgupta7902
    @harshitgupta7902 Год назад

    I am looking for the source code of the application. Can anyone help me with the above link the source code is not working.

  • @yusuffabdulmusawwir6807
    @yusuffabdulmusawwir6807 2 года назад

    So I just noticed, I didn't add any template tag to the action in the delete.html and when I ran my server , it worked perfectly...any explanation to that??

  • @TechWithParlem
    @TechWithParlem 2 года назад

    Dennis, can you help to create tutorial CRUD with SQL Server.

  • @franciscomoreno3505
    @franciscomoreno3505 4 года назад +1

    Good Job Dennis!!! Cool, Amazing and Well Explained Tutorial.

  • @lovesfoodmorethanpeople5871
    @lovesfoodmorethanpeople5871 2 года назад

    Can you please help me out with how can I change the drop down list of the foreign key columns to a text box Django forms? Please and thank you

  • @nhfx2261
    @nhfx2261 9 месяцев назад

    bro, source code isn't available . can you please provide source code again??

  • @vishalvishwakarma8276
    @vishalvishwakarma8276 3 года назад

    In delete_order.html we are giving action some value but why are we giving it , it still working and if we were supposed to give the value then why not in update_order.html too?

  • @masterhipster8358
    @masterhipster8358 2 года назад

    Hi Dennis,
    love your videos..
    can you plz tell how we update date also while user update data..
    In this videos the date was not updated..
    Its will help to me if you guide me

  • @justmeldin6062
    @justmeldin6062 3 года назад +1

    You my man, you are THE BEST teacher I have ever seen in my life.
    Best teacher I have ever seen and not just in industry of coding and computer science, I mean in general.
    I hope that you continue in this endeavor of teaching and breaking down hard topics.
    You nailed everything here...tact, speed, level of voice, how much you stay on certain issue, how you explain and connect the dots...
    every single part of your lets say style of explanation is such that immediately sticks in my head.
    Don't get complacent and work hard as you already do. Think that you are not good enough :) Peace bro

  • @MillionaireMindset.247
    @MillionaireMindset.247 2 года назад

    Thanks a loot for this video
    how can I show the price field in the creatorder form ?? from product table for exemple whene we select a product it must get the price of this product

  • @teknisiai8809
    @teknisiai8809 3 года назад

    How do I join tables in django? / displays the data from the join table on the data input form.

  • @paulinrugero3586
    @paulinrugero3586 3 года назад +1

    it is very difficult but it is good

  • @alexdin1565
    @alexdin1565 2 года назад

    Hi, Dennis any way to publish a post at a specific time (in future date )?

  • @mohammadmarufchowdhury
    @mohammadmarufchowdhury 3 года назад

    when deleting data, why 'a' tag is not working??
    input works fine

  • @bakhtiyortojiev4740
    @bakhtiyortojiev4740 4 года назад

    why you changed main_template.html to main.html?

  • @CamaGoesGym
    @CamaGoesGym 3 года назад

    How would i add the list onto the same page as the create...im struggling alot.

  • @rohitjain028
    @rohitjain028 4 года назад +1

    waiting for the next video please update soon as possible

    • @DennisIvy
      @DennisIvy  4 года назад +1

      I'm honored that your following the series :) New video's coming soon!

  • @srwaan
    @srwaan 4 года назад

    can someone please explain to me what instance=order does? Isn't clear for me

  • @AlexandreSiedschlag
    @AlexandreSiedschlag 2 года назад

    You explain very well, but too fast. Cool tutorial.

  • @vishwas22khare
    @vishwas22khare Год назад

    Please reply ,How you added view button ?

  • @tunechidagoat
    @tunechidagoat 4 года назад

    Sir please help.... In my page i made a new post and i added a link address but link is not clickable .. how to share a link clickable when creating a post..please help

  • @backupphotos4730
    @backupphotos4730 2 года назад

    how to fill a foreign key object in the update form

  • @shellshock2320
    @shellshock2320 3 года назад

    i dont understand the difference with REST concept

  • @appiah-kubifrank7378
    @appiah-kubifrank7378 Год назад

    Hello please can you share source code? Thank you

  • @meqdaddev3100
    @meqdaddev3100 4 года назад

    Great effort Dennis,
    While I'm applying this project, I'v faced an issue in these steps in this video.
    especially when I code the delete order function [last one in your video], it didn't work with me, I tried many times to trace your code and comparing it with mine, but I got nothing.
    This is the message when I click on delete button:
    ...............................
    NoReverseMatch at /delete_order/1/
    Reverse for 'delete' not found. 'delete' is not a valid view function or pattern name.
    Any tips for help will be appreciated.

    • @RM-ox6fn
      @RM-ox6fn 4 года назад +1

      Had the same issue, idk why but when i used the source html dashboard that works : github.com/divanov11/crash-course-CRM/blob/part-10-crud/crm1_v10_CRUD/accounts/templates/accounts/dashboard.html

  • @jasondhakhwa1179
    @jasondhakhwa1179 3 года назад

    can someone explain why dennis put instance at 14:32

  • @ChrisNemes
    @ChrisNemes 4 года назад +1

    Thank You, Dennis! You helped me a lot with these tutorials!

  • @NOMOUSE
    @NOMOUSE Год назад

    Man, I wanted to do something and your video helped me a lot. Thank you, deserves a like with great gratitude. Congratulations!! You have a new subscriber.

  • @ngogioan2411
    @ngogioan2411 3 года назад

    Thank you, Ivy. It's greate tutorial. Could you please help me how does Django implement INNER JOIN without using foreign keys, it's my real case. Thanks

  • @cezar-alexandrujavad5731
    @cezar-alexandrujavad5731 3 года назад

    the Form is not showing...like it shows to you at min 8:05

  • @Lyonnais1985
    @Lyonnais1985 Год назад

    great content, helped a lot.

  • @johnokelly4860
    @johnokelly4860 5 месяцев назад

    This video tutorial really helped me to resolve some issues with my own CRUD issue in Django. Thank you very much.

  • @jarczan
    @jarczan 3 года назад

    Great video. Thanks ;)

  • @ashaydeshmukh2791
    @ashaydeshmukh2791 2 года назад

    How can we pass this instance in class form.?

  • @DanielEscalona-ez4ri
    @DanielEscalona-ez4ri Год назад

    18:00 in django 4.1 you can just add to href="{{ request.META.HTTP_REFERER }}" to a button to take you back to the last page

  • @kubernetes2797
    @kubernetes2797 2 года назад

    very easy to understand, Django CRUD is very important lesson in all Django architecture

  • @archimesonsxu9243
    @archimesonsxu9243 4 года назад +3

    Please tell me why I get a "Reverse for 'update_order' with arguments '('',)' not found. 1 pattern(s) tried: ['update_order/(?P[^/]+)/$']" here, thanks!!

    • @archimesonsxu9243
      @archimesonsxu9243 4 года назад

      I am a idiot because I have made a syntax wrong.

    • @akash4952
      @akash4952 4 года назад

      @@archimesonsxu9243 what was the problem bro can u tell me i am also having same problem

  • @fastmovies1019
    @fastmovies1019 4 года назад

    1) Add features to show price amount of individual product on each customer...and total price of all amount in status.html......it would be nice for admin or user to see the individual product price and total price consumed by respective customer
    2) Add features of showing vat bill number of product too,
    3) i have a product like "laptob ,mobile "and i would like to allocate hp,dell,MAC for laptob and samsung,oppo,nokia for mobile .....in customer dashboard only..add this features too instead of using only tag section in admin panel..query database to individual customer UI

  • @mychromebook9935
    @mychromebook9935 3 года назад

    how are you passing request.POST into the function OrderForm(request.POST, instance=order) ? 16:14 Seems confusing when Order(model.Model) and OrderForm(ModelForm)

  • @abdurahmanyusuf5170
    @abdurahmanyusuf5170 4 года назад +1

    i want to request you to add report for this tutorial sir thanks

    • @DennisIvy
      @DennisIvy  4 года назад

      Have I given you my email yet? I dont think I received the picture you mentioned. My email is dennisivy11@gmail.com

  • @vanjomampusti8523
    @vanjomampusti8523 3 года назад

    how do you include datepicker in ModelForm? I have this date_created variable in my model. Thank you

  • @AhmedAli-oc3xp
    @AhmedAli-oc3xp 4 года назад

    Dennis there is no (pt13) in your video series. I think that you've just mistaken the numbering. If not Please do tell me. And Thanks! for such easy to understandable videos. :-)

  • @juandougnac8826
    @juandougnac8826 3 года назад

    Though I've enjoyed the course quite a bit thus far, I think you make the mistake of assuming all the content has been completely, absolutely, 100% been absorbed and comprehended by the student.
    This isn't something catastrophic, but it does make the lesson much harder to follow for those of us who aren't already familiar with django and/or web development. Just a matter of going back and re watch the videos, but still, I think it'd be better if you took it a bit more slowly.

  • @madridism1056
    @madridism1056 4 года назад

    bro I've a question.... what if i want a form with another field...which is not in the model.......then what should i do ?
    and another question...if i delete any order from customer page...then we're also redirected to the homepage...what should i do to redirect it to the customer page instead.....Like in views can we do anything like
    if something == { ' /customer/ ' }:
    return redirect ( ' /customer/ ' )

  • @MegaRaju78
    @MegaRaju78 4 года назад

    hi dennis, your followed ur videos on django, was able to learn so much. right now I am struck at Class 'Product' has no 'objects' member error, I am using VS. tried all kind of options but no use, need your help