Пікірлер
@marcelriedeman9286
@marcelriedeman9286 Ай бұрын
When I ran eb init, it asked me for my AWS Access Key ID and Secret Access Key. Could you explain where to find these credentials? Thanks!
@ALISHERpy
@ALISHERpy 2 ай бұрын
how can we get source of code
@codeenvironment
@codeenvironment 2 ай бұрын
Please check the description for the GitHub link.
@halilibrahimsoyman5797
@halilibrahimsoyman5797 3 ай бұрын
ı got "django.db.utils.OperationalError: no such table: auth_user" error when i did heroku run python manage.py createsuperuser how can i fix that problem?
@codeenvironment
@codeenvironment 3 ай бұрын
Make sure you run makemigrations then migrate
@levimedeirosmagny9149
@levimedeirosmagny9149 3 ай бұрын
Great content! Do you have any tips on how to solve the psycopg2 problem? My app uses it and i'm struggling with it. Thanks
@codeenvironment
@codeenvironment 3 ай бұрын
Use psycopg2-binary
@shwetajha6476
@shwetajha6476 4 ай бұрын
Thank you very much helped alot❤
@nquanta1548
@nquanta1548 4 ай бұрын
Thank you for this wonderful series it is beginner friendly 🎊🔥👍
@omegaroyal
@omegaroyal 4 ай бұрын
how do you add and remove modules to and from students that already exist????
@omegaroyal
@omegaroyal 4 ай бұрын
Oh I see it is in the NEXT tutorial. Watching that one next. Thanks for this.
@zebronebanda6339
@zebronebanda6339 5 ай бұрын
Well explained and, thank you
@odiadavid6957
@odiadavid6957 5 ай бұрын
You started your explanation from a very top-level, displayed code even before explaining what you wanted to achieve. smh
@mohdshoibsir4501
@mohdshoibsir4501 5 ай бұрын
Awesome tutorial. Thank You so much for this video.
@shadow2731
@shadow2731 6 ай бұрын
i need use controller and service used django framework api
@chetty1212
@chetty1212 6 ай бұрын
really appreciate this video about multi threading and a real world example . Is there more about this topic that u have ?
@codeenvironment
@codeenvironment 6 ай бұрын
Thanks Chetty!, unfortunately I haven’t released other content regarding this topic.
@themagicofcomputerscience3270
@themagicofcomputerscience3270 7 ай бұрын
in my channel I present Django & Python educational videos
@themagicofcomputerscience3270
@themagicofcomputerscience3270 7 ай бұрын
thank you very much
@JustPython
@JustPython 8 ай бұрын
Wow that's cool
@JustPython
@JustPython 8 ай бұрын
Very useful video
@koech1495
@koech1495 8 ай бұрын
what if the function you want to schedule expects a request parameter
@kkatsavaros
@kkatsavaros 9 ай бұрын
can you send us an requirement.txt because we are in version 4 and some packages makes conflict?
@codeenvironment
@codeenvironment 8 ай бұрын
Please check the GitHub repository for the requirements file
@n.e.pranavakumaar4470
@n.e.pranavakumaar4470 10 ай бұрын
Hi sir. I have a issue here. For me it is getting displayed as car_plan = null whereas in your case the corresponding id is rendered. How to solve this?
@vasuag5630
@vasuag5630 10 ай бұрын
raise ImportError("allauth needs to be added to INSTALLED_APPS.") ImportError: allauth needs to be added to INSTALLED_APPS. i got this error how to solve it i am stucked here i searched in stackoverflow i didnt find anywhere
@humbertocruz1997
@humbertocruz1997 10 ай бұрын
Excellent explanation. It helped me a lot with a project I'm currently working on.
@charlesenglebert8226
@charlesenglebert8226 11 ай бұрын
manyToMany relation is symetrical. What if you also want to display the list of students in a modul record ?
@radomirpiatkowski829
@radomirpiatkowski829 2 ай бұрын
You can add M-M field in its model
@przemiymaciej4133
@przemiymaciej4133 11 ай бұрын
diesel will be 740d not 740i
@user-xe1rm4iq9g
@user-xe1rm4iq9g Жыл бұрын
Initially, the scheduler runs twice?
@mehdi-vl5nn
@mehdi-vl5nn Жыл бұрын
zombie thread?
@nikro7239
@nikro7239 Жыл бұрын
Hi, I have a problem. It just doesn't work for me for whatever reason. The pagination doesn't show, and it's exactly the way it was before despite me adding pagination. I checked a few times and i copied it correctly from the there is no error. id don't understand why
@panosgonos5211
@panosgonos5211 Жыл бұрын
Django-rest-auth has been deprecated. Any good alternatives?
@codeenvironment
@codeenvironment Жыл бұрын
Yes there is: use dj-rest-auth , its a newer fork of the project
@dante7222
@dante7222 Жыл бұрын
Great tutorial tks. And if there are more than one car plan per car ? how can i setup the models ?
@Asgallu
@Asgallu Жыл бұрын
Great video!, is it the same as Celery?.
@codeenvironment
@codeenvironment Жыл бұрын
No it’s different.
@ololoshamedia4681
@ololoshamedia4681 Жыл бұрын
@@codeenvironment and why you are choosing the threading, not the celery?
@sudhakark8709
@sudhakark8709 Жыл бұрын
thanks bro its very helpfull for me
@yusufuslu831
@yusufuslu831 Жыл бұрын
it's save my day
@vinaykarna4000
@vinaykarna4000 Жыл бұрын
Can we apply AND logic in these rest filters? For example I want to filter based on two Params. Let's say I want to filter cars based on a condition that it has to start with text "Ford" and must have engine greater than 550 HP. basically, I would do ?a=Ford&engine>550HP. But it gives me OR results instead of AND. It gives me ford plus any brand car that has engine value more than 550. How can I make my query strictly follow AND logic and not OR is my main question. Hope I have put it correctly.
@codeenvironment
@codeenvironment Жыл бұрын
Yes you can use the AND logic. First from django.db.models import Q Then inside your filter use filter(Q(condition) & Q(condition))
@nailahadhwaalhafi6032
@nailahadhwaalhafi6032 Жыл бұрын
thank you for this video, very useful
@6ima842
@6ima842 Жыл бұрын
What should I do if I make any changes to my project? Rewrite the "deploy" command?
@codeenvironment
@codeenvironment Жыл бұрын
Yes exactly, you save the changes and deploy again.
@6ima842
@6ima842 Жыл бұрын
Thank you) Please tell me if it works with the latest versions (Django 4.1+, Python 3.11+), and is it necessary to create a new virtual environment, and is it okay to use in Paycharm?
@codeenvironment
@codeenvironment Жыл бұрын
Currently AWS Elasticbeanstalk doesn’t support Python 4 , you need to choose Python 3.7 or 3.8, and whatever version of django that works for you. You do have to make sure your environment has the same version of Python and other libraries you wanna use for production to avoid errors and run problems
@kenafriq
@kenafriq Жыл бұрын
I have a question Sir, so when using the modelviewset; we are not required to write our own get, post, update and delete functions? Does it just work like magic?
@codeenvironment
@codeenvironment Жыл бұрын
Yes cause the built in methods of the ModelViewset will handle that however you can override these methods if you need more control and I demonstrated that in both #14, #15 videos on my channel, you can check them out.
@kenafriq
@kenafriq Жыл бұрын
@@codeenvironment Okay i am checking
@kglmgaming.official
@kglmgaming.official Жыл бұрын
well played sir well played
@jameshaobam5109
@jameshaobam5109 Жыл бұрын
Thank you U saved me ☺
@devopsliveuz
@devopsliveuz Жыл бұрын
how to delete this car_plan relation object?
@Swapnil_Joshi
@Swapnil_Joshi Жыл бұрын
if I want to filter using car brand or car model but not both, how can I do it ?
@quangtranvan9606
@quangtranvan9606 Жыл бұрын
Very convenient, thank you very much
@matthewsheeran
@matthewsheeran Жыл бұрын
Instead of a try: except: if "plan_name" in ...: is always better and faster.
@codeenvironment
@codeenvironment Жыл бұрын
Thanks Matthew
@jatinchauhan5050
@jatinchauhan5050 Жыл бұрын
What we have to pass in the url path to retrieve data
@mahfoudtabet5471
@mahfoudtabet5471 Жыл бұрын
thank so much for every thing , you have a nice method to explain DRF. can you do an example about Multiple User types with roles and permission like (admin, manager, editor ,publisher, reader)🙂
@codeenvironment
@codeenvironment Жыл бұрын
Thank you Mahfoud 🙂, I’m glad I could help. And I’ll definitely consider your request.
@MyStockz
@MyStockz Жыл бұрын
I need help
@hlucas3349
@hlucas3349 Жыл бұрын
Hi. How to return only one latest added track.
@codeenvironment
@codeenvironment Жыл бұрын
Hi Lucas, you can use .last() or .latest() in your query to achieve that.
@midhunskani
@midhunskani Жыл бұрын
we can do this in much more simple way def create(self, request, *args, **kwargs): serializer = serializers.BrandSerializer(data=request.data) if serializer.is_valid(): serializer.save() return Response(serializer.data) Hope this helps. Thanks for tutorials
@youtubedeletedmyrapmusicch2682
@youtubedeletedmyrapmusicch2682 Жыл бұрын
what version of awscli did you use, was it awsebcli==3.19.4 ?
@codeenvironment
@codeenvironment Жыл бұрын
Please check the GitHub repository for that, if you don’t find it then use the latest version of awsebcli and if you have any compatibility issues please let me know.
@youtubedeletedmyrapmusicch2682
@youtubedeletedmyrapmusicch2682 Жыл бұрын
@@codeenvironment its not in the requirement.txt file
@codeenvironment
@codeenvironment Жыл бұрын
Use the latest version that should work
@youtubedeletedmyrapmusicch2682
@youtubedeletedmyrapmusicch2682 Жыл бұрын
@@codeenvironment the latest version has different requirements, its ok, i found out you used 3.19.4 from the video
@bibinkunjumon
@bibinkunjumon Жыл бұрын
Very well u explained
@JoaoCarlosCvel
@JoaoCarlosCvel Жыл бұрын
Thank you for your time. You save me!
@codeenvironment
@codeenvironment Жыл бұрын
Thanks João, I’m glad I could help