Python Django Project - Ecommerce Store (2021) - Part 1 - Building models, views and testing

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

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

  • @averagepantheonenjoyer9070
    @averagepantheonenjoyer9070 2 ปีที่แล้ว +19

    Üçgen akademi nerede a

    • @epik_studios
      @epik_studios 5 หลายเดือนก่อน +2

      bende ordan gelmiştim ama yok

  • @babidibabidi
    @babidibabidi 3 หลายเดือนก่อน +4

    Lan bi kimya testi cevaplarina bakicaktim niye geldim buraya

    • @Studyandico
      @Studyandico วันที่ผ่านมา

      Bende fizik için gelmiştim😢

  • @SharkGamesCH
    @SharkGamesCH 3 ปีที่แล้ว +26

    Hi, in 1h i learn more than 3 weeks on other vidéos "tutorials". Dont stop and continue, it's absolutly perfect for me. Thanks to your dedicated work!

    • @divya-soni
      @divya-soni 2 ปีที่แล้ว

      +1

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

      hey how are you

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

      have a good time

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

    "Fairly short page here"... continues to scroll for a while. lmao funny guy

  • @emmanuelavilavaldez3399
    @emmanuelavilavaldez3399 3 ปีที่แล้ว +23

    You sir, are a phenomenal instructor! I can't stress enough how good the quality of your explanations are. Django G.O.A.T instructor!

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

      Too kind - thank you

  • @danielrossi7119
    @danielrossi7119 2 ปีที่แล้ว +14

    I've watched 21 minutes so far and I had to stop and come comment because your are just amazing at teaching! The way you explain and make things so easy and fun is wonderfull! Thanks a lot for the content!

  • @caughtbyenot9999
    @caughtbyenot9999 3 ปีที่แล้ว +10

    Keep doing this thing! Your explaining is amazing.. I ve watched a lot of videos about django, but nobody explains it better! Thank a lot!

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

      I appreciate that!

  • @saeedmhmoud1902
    @saeedmhmoud1902 3 ปีที่แล้ว +26

    This channel is one of the best I have seen for teaching Django, thank you

  • @tsegawkebede669
    @tsegawkebede669 3 ปีที่แล้ว +8

    One of the best Django tutorials i found on TH-cam so far.
    This is basically the video version of Antonio Melé's book - Django 3 By Example Chapter 7-9. (such a great book btw)

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

      Hi Tsegae, that is the secret triad of teaching materials I have for my students. They read that book, I lecture to them, then they have this resource to support them further in the same direction to the book and lectures. I would recommend everyone who is starting in Django to buy that book!

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

      ​@@veryacademy Thanks for pointing this out. I have the book but haven't gotten that far. I think it would have been the ethical thing to do to point this out, otherwise you're using source material without acknowledging its source. Also, now that I know this, I know that I can look up that book to see alternative explanations as I follow along.

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

      Django 4 By Example by Antonio Mele is coming out soon with more content.

  • @hansubkim3065
    @hansubkim3065 3 ปีที่แล้ว +7

    Been looking for a tutorial with this level of detail for a long time, keep up the fantastic content!

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

      Glad I could help!

  • @MrRahul15937
    @MrRahul15937 3 ปีที่แล้ว +26

    One of its type of video.
    Almost nobody teaches testing.

  • @mr.chinaski2613
    @mr.chinaski2613 3 ปีที่แล้ว +5

    Awesome channel, been learning Django for a while by myself and glad that I found you. Keep up the good work !

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

      Welcome aboard! Thanks Dan

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

    Awesome job, but would be even nicer if done with poetry and pytest.

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

      Hi Aurimas - we will move into different approaches in the second phase on this project.

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

    Fu** it dude you nailed it! So clear and precise. Love it!

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

    i really respect you, and please allow me to call you is my teacher

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

    I want to add a seller who sells books. How do I add? Pls help anyone

  • @codewithfarhad8594
    @codewithfarhad8594 3 ปีที่แล้ว +13

    you are a phenomenal teacher when it comes to Django. I wish you all the success in the world! thank you so much

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

    So much value for free. You're welcome on Udemy and please inform, when we can buy more in depth courses of your training. Hopefully we will see some poetry and pytest :)

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

      Thank you. The timeline is for around April to start thinking about Udemy. 👍

    • @VIVEKTIWARI-oc2jn
      @VIVEKTIWARI-oc2jn 3 ปีที่แล้ว

      @@veryacademy your content on TH-cam is awesome please keep it. Many peoples dont have money. Thanks

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

    At 39:27, if anyone like me had an issue with models not showing up in admin page. Use:
    admin.site.register(Category)
    admin.site.register(Product)
    instead of
    @admin.register(Category)
    @admin.register(Product)

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

    This is an amazing tutorial. Thank you so much for sharing your knowledge, and for actually explaining the purpose of doing different things and establishing the relationship patterns for the data connections. I am so grateful to have found your content! So much great information!

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

    Hope you will read my comment and answer

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

    subscribed, it's a shame that you have so few followers, an excellent tutorial, everything is clearly and thoroughly explained, well done

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

      Thanks Michael, everything is growing slowly. I will keep finding ways to improve the overall tutorials and provide more depth as or if the channel grows.

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

    Oh man, I'm blessed by having this.
    Appreciate your efforts. Enormous Thank you to you sir.
    I learn a lot from you.
    Hope you soon get millions subscriber, you deserve. Thanks a lot.❤️

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

      Thank you for the kind comment 👍

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

    40 mins in. This is the Django tutorial I've been dreaming of. Hats off, mate!

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

      Hope it continues to work for you 👍

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

      @@veryacademy Just got to the end of this section and still smashing it!

  • @mr-engin3er
    @mr-engin3er 3 ปีที่แล้ว +3

    was searching for ecommerce project since 5 days and got notification ❤️

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

      I sense the world needs more ecommerce stores 😂👍

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

    Hey, I want to start working on this series. The playlist information also mentions that docker and deployment is covered, but I don't think there are any videos on those topics. Are they buried somewhere inside the videos, or did you end up not making those videos? Thanks a lot for making the series

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

      Hi, we got so far then decided to make version 2 of this project. This is a good intro to building, but lacks the control of testing which we address to version 2 of this project

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

    sir plz make make video on django+react

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

      Thanks Hacker, I do have some older projects with React - I will be making project after project, it wont be long until we get back to React. I would prefer to do Next JS - not sure how you feel about that?

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

      @@veryacademy next js and react which frontend framework is best

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

      veryacademy, please make on react too

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

    Actually i learned django from half a dozen channels but in this channel i realized that it gives you whole knowledge of django framework from beginner to advance level. In his tutorials you learn everthing about django.

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

    hello, i am having problem with running the project i need your help

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

      Hi David sorry I cant help you individually, by all means add a question here and or use the Discord channel, maybe someone has had a similar problem.

  • @АлександрБирюков-о2л
    @АлександрБирюков-о2л 2 ปีที่แล้ว +1

    please tell me what plugin and settings you use for templates in vscode?

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

      theme I think might be owl, then just the django and python plugin

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

    Hey, I was wondering how to solve this error. When ever defining created by, it says User is not defined. Please help me. thanks

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

      Hmm, difficult based on the information you have given me. Maybe the User table hasn't been defined or created correctly?

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

      @@veryacademy i fixed it, thank you very much.

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

    no idea how I found this channel but when I looked into your videos I was like "woooaaa man ,hold up, this all I need" :D

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

      Welcome aboard! Thank you 👍

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

    This channel is amazing! no one teach testing is a full stack course! just amazing. thanks so much

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

      No problem - its a start 👍

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

    i wish this would get more views man, he deserves it, and people would get the appropriate knowledge to.

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

      Thanks Sabeqiasur, its all good. The main thing is you found it - hopefully the content will be useful.

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

      @@veryacademy this is the best Django tutorial on TH-cam period, at least for me...the way you explain is amazing!!!!

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

    Finally finished it. So informative. Hope to finish the full series.

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

      Thank you for taking the time!

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

    Hi, amazing work.
    I do have one doubt about how this init file(in test) is included was it manual?

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

      It is simply used to mark the directory as a python package directory. I added it manually

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

    are you using mysql database in this project?

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

    fantastic tutorial, one of the first that i actually didnt fall asleep in! cudos on adding testing, agree with Rahul Pandey, almost nobody teaches testing, great addition! keep up the great work, looking forward to watching more of your tutorials

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

      Thank you 😁 you can sleep now 👍

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

    i have other question regarding database Product table. how can I add a date to specify when the product started being active, and when is not anymore.
    for example; a thick coat is only sold between fall-winter season, so i want save the period of time this product was on display.
    somehow cant work around the logic for achiving this. cheers!

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

      Hi Jorge, thanks for the tutorial idea! (Just to confirm you - you would like to set a product active based upon dates supplied) It would be a good feature to add. Eventually we will get celery etc in the project and automatic some tasks. You could do this a few ways. Probably or the most simple way would be to give a product at field (or make a new table) assigned to winter, summer etc. Set-up a cron job to run at certain time to run a query - the query would be - select product where season = winter - then change flag to True to turn on. Another job would turn them off. I would avoid trying to micro-manage this by giving individual products dates on the table for example. I will add this into the build once we get further in or - as it is such a great idea - maybe sooner.

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

      @@veryacademy thank you for your reply! yeah i want to be able to query from my database info from my products based upon dates supplied, in order to manage my inventory and get better statistics on products sells. and the celery tip is great too! as i've been wondering how to run a query after certain time and then create data based on those results for each product being sold. dont know any celery though, i will dig on it.

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

    Can anyone help me please?
    I am getting a Type Error when trying to migrate.
    raise TypeError("'class Meta' got invalid attribute(s): %s" % ','.join(meta_attrs))
    TypeError: 'class Meta' got invalid attribute(s): Ordering
    Not sure where I am going wrong here?

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

    I vote as best course

  • @yuriyarin4027
    @yuriyarin4027 3 ปีที่แล้ว +8

    38:11 Small correction: @register(Modelname) tells Django that you want this model to appear automatically in the admin panel. The @register way of registering the model allows you add special features in the admin panel, search as a search function, sorting, or for extra fields to appear in the table. In other words, it allows you to start that class and say things like list_display. There is another way of registering models, which is commonly used, but it doesn't allow you to add these extra features. It is especially useful if you have fields that are best prepoplated when created, but you want to be editable, like the slug field.

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

    In what way you developed your ecommerce project in the github as this folder sturcture, please suggest.

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

    i have error with makemigration i try a lot of solutions

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

      It should give you some indication as to what might be the issue. I would roll everything back and do the tables one step at a time until I made a mistake.

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

    I have this problem which persist.
    Object of type Product is not JSON serializable.
    Kindly help out

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

    OMG this is such a great course, your explanation manner is fantastic!!! Also english is not my native language but your accent is beautiful and it gives me an opportinity to practice my listening skills :)

  • @e-splash9700
    @e-splash9700 2 ปีที่แล้ว

    eish i dont know y ...wen i deploy this project on heroku... its showing error wen i want to access the admin panel, but the home page is ok. its showing an error message admin url missing , but on my local machine it runs perfect. wat could be wrong?? I havent completed the project yet, here i quickly had to deploy it coz i like working with live things...n its easier to solve bugs n issues this way i would say.

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

    How you got static files i.e. bootstrap and css

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

      I use the Boostrap CDN link in the top of the base template

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

    are you trying to compete with dennis ivy? XD anyways thank you and thank you for making us this free content just like this and helping developers you deserve much more recognition and I would like to see you succeed. all the love my G

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

      Hey Alviti, I guess it is about perspective here, I have more videos the Dennis Ivy channel, this channel is older? Maybe they are all trying to compete with me (just joking here). I don't follow, look or compete against anyone other than myself. I just want to keep focused on making better tutorials and all aspect of online delivery to help out anyone who should wish you follow any of the tutorials.

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

      @@veryacademy I concur with you. There is something new to learn from every perspective.

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

      @@veryacademy your channel is the best of all , Im happy I have discovered it.

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

    I like your teaching manner. Thank you a lot for the guide, especially for testing sections. Will definitely watch the full course.

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

    For the first time i found a mistake in english developer's code, im so exited to clearly understand english in IT (im about the User define mistake)

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

      Uncle, if you hang around long enough you will find much more 😂 - Microsoft have made us do this for years.

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

    ​The time stamp for (01:11:12)​​ Intro and Visualising URLs, Views, Templates and Models should be ​​01:11:06​

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

    This tutorial playlist is PHENOMENAL. Thank you SO much for this quality in vids my god

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

    Hello, I have an issue. Please check on category.html file as I am having Invalid block tag on {% else %}. I go for several discussions to resolve this issue but then I cannot find any. I also have an issue where once I save the code, my vscode rearrange the code in its own format, not as same as in the repository.
    Kindly please help. Been already 4 weeks just watching this video and trying to finish this tutorial, every morning.

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

      Hi Bali, you have extensions formatting your code - you turn to turn these off as they can cause problems with the code working.

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

    Can you please make a tutorial for making a marketplace using Django rest framework? That would be so awesome

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

    Any time I try to make the Initial Migrations, I see "no changes detected". Kindly help me out. Thank you

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

    Sir I'm willing u are doing Good . I am almost finishing the V2 of this project . It's all about database and relationship between tables . .is this tutorial too about only database or about views and templates too ?? Have a good day ☺️

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

      V2 next tutorial we look at queries and build a simple filter as well as make some templates to implement

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

    You are just a true legend!! Thank you so much for thsi video!! you helped me a lot and explained things so clearly, THANK YOU!

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

    if im doing clothes, should i create a class size, and use it as foreignkey within the product class or should i add a charfield named size and just write the size? help!!

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

      Hi Jorge, this is a great question. We do work towards answering this question in part 5. I will try and answer this question more directly in a tutorial. However, if you know what data you need in your project change the database to fit it. You could make a new table like you are suggesting

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

    Nice can there be another with react.. You are awesome

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

    Sir please make video on agile scrum

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

      Hi Vivek - yeah, I wanted to get started on UML tutorials first. I not doubt will get inspired at one point and make a load of UML and cover methodologies etc.

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

    Best Django tutorial I have ever seen.

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

    Liked and subscribed. Thank you so much for imparting some knowledge.

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

      Awesome, thank you!

  • @vladasolovei6169
    @vladasolovei6169 9 หลายเดือนก่อน

    thank you for this great content, it's super helpful :)

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

    Very helpful. Thank you! Excuse me sir, may I know what type of font you are using in your editor?

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

      Consolas, 'Courier New', monospace

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

    This is a fantastic series. I also watched your video on importing data from a CSV tutorial and I am now wondering how I could import CSV data into this model with these foreign keys. I have spent many hours attempting to do this with no luck.

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

      Thanks Dave, noted, see what I can do other the next few days

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

    can I know what is the requirements should i know first before i start to see this playlist ?

  • @Faybmi
    @Faybmi 4 หลายเดือนก่อน

    waste of time, on 3 or 4 part you will cross with amount of errors

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

    sir this is for multi vendors or not

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

    Really appreciate your hard work in making these tutorials :)

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

    i am not getting single page details while getting into item/anything details can anybody help please

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

    Hi!
    path('item//', views.product_detail, name = 'product_detail')
    Cant figure out what does first slug mean in You said that it s a variable, but second slug is a variable too. Is it some kind of default data type in django?

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

      slug 1 = type of data, slug 2 = name of variable if you like where the data will be stored and referenced in the view to get the data

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

      @@veryacademy Thanks a lot!

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

    Thank you, bro. I obtained new knowledge from your course. Keep up the good work.

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

    Does anybody has AttributeError: module 'store.views' has no attribute 'all_products' ? Aynone solved?

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

      Hi Emre, when are you getting this problem. Check your urls and make sure that they point to a view named all_products and that the all_products view is in the view file

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

      I fixed it but thnk u for ur attention and fast response. Ur channel is really great!!

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

      If someone ask how to fixed it; it was a dummy error, I named a variable without 's' in the end and added it later but I thonk compiler does not understand so I erase the whole variablename and write exactly the same thing and problem fixed.

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

    Hello thank you so much i really appreciate for this tutorial

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

    Hey zander, it's great that you are making videos on django. But, I thought that you will be making video through REST API. And, React. If possible please make it in react+ DRF

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

      Hi Shrey, great to hear from you. Just warming up again after a break. The plan is to get to the database refactoring part 5 then I will start the same project with React and DRF. I would prefer Next JS - how would you feel about that? In fact the plan is to do Next, React and Vue - all the same ecommerce project with DRF.

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

      @@veryacademy Its great to see you after such a long time. See, I don't care much about frontend(But, still I prefer React). But, I am very much curious about DRF

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

    Great Man , keep posting ....You are One of the best teacher i have...

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

    How to access the database used for testing?

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

      Hi there. Not ignoring you. It is difficult to answer the question there are many unknowns in your question to be able to give you the right answer. When you say access the database, I assume you mean you want to query the data. Just run queries like you would normally do model.manger... At the same time I am guessing you are asking me a different question.

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

      @@veryacademy What I mean is that, when we create objects on the database in tests, how can we see these objects, or whole database with objects created in tests?

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

    Please make video on Django-Oscar

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

    How are your code able to run test when the folder name is "tests" ?

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

      By default, unittest module’s built-in test discovery - this will discover tests in any file named “test*.py”

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

    When I'm running tests it's running 0 tests. It's saying import error so I changed files but still it's running 0 test.
    Help would be great

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

      Hi Lakshmi, the only way I can help is to see your code - looks like it cant find your tests so make sure you named the folders correctly / files and tests so that they can be found - you might need a __init__.py file in the test folder.

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

      @@veryacademy thanks, it helps

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

    Hello, such a great video. I however having this same issues for months! I cannot create virtual environment in my vscode. I have gone thru solutions like stackoverflow and manymore but none of them solve my issue. I get frustuated I can even grow in this learning. Kindly please help. I followed your instruction and yet, this is what I get. Please refer below:
    -m : The term '-m' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + -m venv venv
    + ~~
    + CategoryInfo : ObjectNotFound: (-m:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    I appreciate your kind help. Thank you. :')

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

      Months! Bali - are you starting the command with python or py - so for example py -m venv venv?

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

      @@veryacademy Yes I realized my mistake after a month looking at it. I did not start with 'py'. But however in vscode it did not recognize when I use python -m venv venv. I wonder why?

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

      Py is the python launcher you can use it without setting the path to python exe. It’s likely you didn’t set the python path at install - that’s why python the command doesn’t work

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

    Excellent content Sir! Your in-depth explanation helps a lot while understanding concepts which are new for someone. Please do carry on with your work of providing such informative content! Thanks a lot!

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

    Thanks a lot Sir 🙏🙏

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

    Very nice tutorial ... informative. Thank you

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

      No problem Shazz - thank you

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

    Thank you for a great tutorial. Question: Which is better: function-based views or class-based ones? Thanks in advance.

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

      Answer is both. Use both when you need to or where it is an advantage to. On small individual projects it makes very little difference. But. Learn OOP as a priority.

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

      @@veryacademy Thanks a lot for a quick reply.

  • @M.I.S
    @M.I.S 3 ปีที่แล้ว +1

    thank you .
    nice !

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

    Great series! Thank you very much for creating great content. I am going to watch and follow along all the way to the end.

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

    You are LEGEND thank you for great video

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

    I hit a like before watching the video because I know you almost always make great videos. I have also added the video to my playlist for later study.

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

      Thank you Troglodyte 👍

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

      I like how you say almost lol

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

    Please making django rest + react full functional e-commerce project

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

    About 2 hours in and this is already the best tutorial series on learning ecom with Django. I spent about 13 hours on a udemy course that simply breezed through all of these crucial concepts, but you my friend, teach everything making sure to explain what it is you are doing and why. You are an absolute gift to us learning Django, thank you so much for this, I am so excited to continue learning with you in this series!!

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

      Bro, did you get any job? if you did, what did you learn after django ?

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

      @@Alifaga I did in fact get a job as a developer, and it was this course I’d say that set me apart from the rest of the crowd. I customized this project to something more personal and it was the spotlight of my portfolio. I started applying for jobs after I finished this project and a few months later scored my first full time job. Best of luck to you if you’re following this course!

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

      @@jamesdarrigo8277 Thank you so much!!

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

      what customizations you made? or do you have any ideas for customization someone else can add?
      @@jamesdarrigo8277

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

    great content Sir. Thank you very much...

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

      You are most welcome

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

    You are the best teacher I have ever seen on you tube. Hats off to you. Thanks a loooooooooooooooot for this series. Could you please do videos for Django+Angular ?

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

      Thanks Gowthami! I would be happy to consider Angular, but first will get what I have started finished 👍

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

      @@veryacademy So kind of you. Thanks. Another request if you don't think I'm greedy, Can you please add a video in this same series about model designing , ER diagram , UML diagram, planning of no of screens and templates to get a clear idea and make this ready before actually start development. That will help a lot in real world complex apps and like testing not everyone shows these stuffs too. If you can do this, that would be really great and helpful for many of us here as they can do something on really instead of watching video and moving on.

  • @СтаниславГаранжа
    @СтаниславГаранжа 3 ปีที่แล้ว

    and one more notion about testing. recently I knew, that "Every test case in a django.test.*TestCase instance has access to an instance of a Django test client. This client can be accessed as self.client."
    docs.djangoproject.com/en/3.1/topics/testing/tools/#default-test-client
    So we don't need set up client in these tests.
    PS Please, don't take my comments as criticism. I really hope my comments will be helpful

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

      Sorry not to get back to you - thank you - I did follow that pathway on the second part as a progression step for users. I think it just establishes the idea a little more to being with.

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

    Three significant errors of instruction in the first 30 minutes. The gloves are off, I'm sick of all the posers pretending to be instructors. YT instructors are 98% poser. One of the most precious things in life is time, and people who waste other people's time are evil.

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

    A very detailed explanation. Thanks a lot

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

    This is all great but I'm having some difficulty. As of two days ago, the order management system was working. You could use the testing API key and the database would add the order and the order's items. I kept working through the video and it suddenly stopped working, and I can't figure out why. I've tried tweaking a number of elements and had no luck. Right now my console is saying "Uncaught TypeError: $.ajax is not a function" but that's only the most recent problem I've had. Also I'm not using the slim version of jQuery, which is the only fix I've been able to find online. If you could help I would greatly appreciate it! I don't know what I changed yesterday to break the system and I've been cross referencing with your github with no luck. Thanks in advance!

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

    awesome, just a question, would it be a good idea to separate category and products as apps from store?

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

      Hi Filippo, yes you can do. If you are just using it once to build a simple category there is probably no point, but if you are thinking of using this over multiple apps in your project then it seems like a good idea.

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

      @@veryacademy thanks a lot!

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

    Amazing Tutorial. I am definitely going over to part 2.