Postgres Container - Docker Part 2
15:27
Docker - Containerize a Django App
24:09
Пікірлер
@Top6TV-rz9zo
@Top6TV-rz9zo Сағат бұрын
Sir, it is saying that: Forbidden (403) CSRF verification failed. Request aborted. When I try to login to admin. What can I do to solve this? Please reply!🥲
@johnkeatsin
@johnkeatsin 3 күн бұрын
Very good series! Thanks a lot.
@ajudmeister
@ajudmeister 2 күн бұрын
Thanks :)
@AlokKumar-or8jz
@AlokKumar-or8jz 3 күн бұрын
Thanks a lot..
@vahidg1500
@vahidg1500 3 күн бұрын
How a stripe send subscription renewal event or callback to my server at the end of period(To store repay data like transaction id)?
@ajudmeister
@ajudmeister 2 күн бұрын
if a subscription is being renewed, you can send a invoice.payment_succeeded webhook event from stripe to your server and store relevant data
@Antei98
@Antei98 5 күн бұрын
Best guides, i`ve ever seen
@ajudmeister
@ajudmeister 2 күн бұрын
Thanks! :)
@kashmirtechtv2948
@kashmirtechtv2948 5 күн бұрын
NICE
@alirezafazeli231
@alirezafazeli231 6 күн бұрын
GREAT
@anngroot2264
@anngroot2264 6 күн бұрын
Great tutorial series! From this I have learned so much!!
@herbertingels
@herbertingels 7 күн бұрын
Hello, i had quite some problems setting up the cloudinary environment, apparently django version 5.1 doesn't work with cloudinary if you use django-cloudinary-storage, with version 5.0 it does. Hopefully this can help, or if anyone has a solution for this?
@ajudmeister
@ajudmeister 7 күн бұрын
thanks for flagging! Have your tried to set storages like this and it still doesn't work? STORAGES = { "default": { "BACKEND": "cloudinary_storage.storage.MediaCloudinaryStorage", }, "staticfiles": { "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage", }, }
@herbertingels
@herbertingels 7 күн бұрын
@@ajudmeister no, but it was always storing the media locally, after the downgrade from 5.1.3 to 5.0 it worked, I will test it later, but I am trying to get my website in production now.
@justtsanjint626
@justtsanjint626 7 күн бұрын
Thank you, just the tutorial I needed!
@tobechukwumarizu2471
@tobechukwumarizu2471 7 күн бұрын
I need help my media files is not uploading to S3 bucket but the file url is showing
@ajudmeister
@ajudmeister 6 күн бұрын
I guess some configuration issue. - do you have the s3 bucket permissions set? - is the Django storage configuration set? - is django-storages installed? - any uploading errors? - correct MEDIA_URL? - maybe file gets overwritten?
@Armin-q6p
@Armin-q6p 7 күн бұрын
Exzellent Bro as always
@ali8670
@ali8670 8 күн бұрын
Hi , want to report a BUG in the site, when we go to create post page and then from navbar we again click on create post and after that when we try to cancel the post it doesnt take back to home page it just reloads the page . Btw great work!
@ajudmeister
@ajudmeister 2 күн бұрын
Hi, this is because it will redirect back to the last page you visited. As you have visited the create post page last, it just redirects back to the same page. You got a good point, I changed it now so that if canceled, the user will be redirected back to the homepage. Thanks.
@mirantaslidza1553
@mirantaslidza1553 8 күн бұрын
I'm sorry, maybe I don't see it, but I don't have this account folder that you copied into the templates folder and I don't know where to get it, otherwise the lessons have opened up a large part of the way for me.
@ajudmeister
@ajudmeister 2 күн бұрын
Hi, have a look at the pinned comment. the allauth packages was updated since making this video, so the structure now is a bit different.
@ajudmeister
@ajudmeister 2 күн бұрын
I also talk in my upgrade video about the change. kzbin.info/www/bejne/enKxioN7r5ecjsksi=vkmmZx6xGJNMGJ_L&t=554
@stepan_pro_art
@stepan_pro_art 9 күн бұрын
А есть на русском?))
@ajudmeister
@ajudmeister 9 күн бұрын
к сожалению нет
@stepan_pro_art
@stepan_pro_art 9 күн бұрын
@ ахахах) ну все равно спасибо, будем значит так учить 👍🏼
@anngroot2264
@anngroot2264 9 күн бұрын
Hi, I seem to be doing something wrong. in the log from container "my-app-container" I get File "/app/celery/celery.py", line 6, in <module> celery_app = celery('a_core') ^^^^^^^^^^^^^^^^ TypeError: 'module' object is not callable any idea what I am missing?
@ajudmeister
@ajudmeister 9 күн бұрын
could it be because you import the Celery module, but you are trying to call it with lower capital c? try: celery_app = Celery('a_core')
@anngroot2264
@anngroot2264 8 күн бұрын
@@ajudmeister Thanks for the hint! I did change the capita, as I originally got: File "/app/celery/celery.py", line 6, in <module> celery_app = Celery('a_core') ^^^^^^ NameError: name 'Celery' is not defined. Did you mean: 'celery'? After changing it back, I get the same error. I'll check all other files, must have made a mistake somewhere. Just noticed I posted this at the wrong video :-) should have been kzbin.info/www/bejne/mJ64an5pd9mnjMU Sorry for that. Must say, I realy enjoy your videos
@ajudmeister
@ajudmeister 7 күн бұрын
@@anngroot2264 do you have the import like this: from celery import Celery? I am glad you enjoy it 😊
@franciscomaver2744
@franciscomaver2744 11 күн бұрын
is it possible that fl0 is down nowadays?
@ajudmeister
@ajudmeister 11 күн бұрын
@@franciscomaver2744 yes seems so
@alirezafazeli231
@alirezafazeli231 12 күн бұрын
Great video
@alirezafazeli231
@alirezafazeli231 13 күн бұрын
GREAT
@Tacotom
@Tacotom 13 күн бұрын
This was so incredibly helpful. Thank you for making Tailwind with Django to production something easier to swallow! I'd been fighting with it for a while, but your tutorial was the best by far. You rock!
@ajudmeister
@ajudmeister 2 күн бұрын
Thank so much for the feedback!
@alirezafazeli231
@alirezafazeli231 13 күн бұрын
great brother
@MasiSediqi-r3g
@MasiSediqi-r3g 13 күн бұрын
make a tutorial ==> crud in Django using HTMX
@ajudmeister
@ajudmeister 2 күн бұрын
Yea, good idea! I will put it on the list. Thanks
@IlliaNovikov-r1b
@IlliaNovikov-r1b 14 күн бұрын
THANK YOU. YOU ARE NOW MY FAVOURITE WEB APP TEACHER. PLEASE DO NOT STOP WITH TUTORIALS. HAVE A GREATE DAY!!!
@ajudmeister
@ajudmeister 7 күн бұрын
@@IlliaNovikov-r1b thanks a lot 🙏
@JoseBM007
@JoseBM007 15 күн бұрын
Gracias por esta serie de tutoriales, ayuda mucho a las personas que estamos iniciando en el desarrollo web y en general nuestro proceso de aprendizaje. Saludos desde Colombia. Nuevamente, muchas gracias por su tiempo y dedicación.
@ajudmeister
@ajudmeister 2 күн бұрын
De nada. Me alegro de que mis tutoriales te sean de ayuda.
@younesdehloum6612
@younesdehloum6612 16 күн бұрын
Very well explained! I have an issue saying no start command could be found when i try to deploy my app is there any solution? thanks a lot
@ajudmeister
@ajudmeister 16 күн бұрын
Thank you. Is your start command gunicorn a_core.wsgi and did you put it the Custom Start Command field in the settings? Or are you using a Procfile?
@IdreesAmoo-i1x
@IdreesAmoo-i1x 16 күн бұрын
Truly this is great content, however try to zoom the texts so that it's going to be seen clearly on like 14" laptop or any other mobile devices
@ajudmeister
@ajudmeister 2 күн бұрын
Thanks. In my later videos I zoom in a but more.
@edge12340
@edge12340 17 күн бұрын
Great video. Sorry, im having a problem with the deployment. "ugettextlazy" has been updated to "gettextlazy" in recent versions. i can change that in my code by going to the ugettextlazy library and manually rename it, but when i import the project to production i got this error cause it seems the library hasn't been updated in render. Can you help me, please?
@ajudmeister
@ajudmeister 2 күн бұрын
does it not work just by using the latest version of Django? I did an upgrade video how to get your project to the latest version of Django and dependencies. kzbin.info/www/bejne/enKxioN7r5ecjsk
@Tommytech001
@Tommytech001 17 күн бұрын
And you think I can get all that in 10 seconds?😢
@ajudmeister
@ajudmeister 17 күн бұрын
@@Tommytech001 if not there is a longer version
@BakhtiyorShavkatov-h1s
@BakhtiyorShavkatov-h1s 17 күн бұрын
🔥
@BakhtiyorShavkatov-h1s
@BakhtiyorShavkatov-h1s 18 күн бұрын
🔥
@BakhtiyorShavkatov-h1s
@BakhtiyorShavkatov-h1s 18 күн бұрын
🔥🔥🔥🔥
@BakhtiyorShavkatov-h1s
@BakhtiyorShavkatov-h1s 18 күн бұрын
🔥🔥🔥
@BakhtiyorShavkatov-h1s
@BakhtiyorShavkatov-h1s 18 күн бұрын
🔥🔥🔥🔥
@MuhammedKamaal
@MuhammedKamaal 18 күн бұрын
thanks Mr.Jud , keep going
@ajudmeister
@ajudmeister 17 күн бұрын
Thank you, I will
@CaptainCoder1
@CaptainCoder1 18 күн бұрын
The process of app password generation has changed. you can not find the app password where it used to be. For that You just have to search explicityly app password in the search bar of home page of google manage account and therre you will get an option for app password click it and it will direct to the app password generation page. If it helps like so that i would know this helps someone.
@BakhtiyorShavkatov-h1s
@BakhtiyorShavkatov-h1s 19 күн бұрын
🔥🔥🔥🔥🔥
@shantamony6942
@shantamony6942 19 күн бұрын
InvalidRequestError at /payment/ Request req_JuW0IOm3I1RPii: You specified `payment` mode but passed a recurring price. Either switch to `subscription` mode or use only one-time prices. Please solved this error
@Armin-q6p
@Armin-q6p 19 күн бұрын
Excellent Bro continue your work. The Algorythm protects.
@dhanshreepatangrao4253
@dhanshreepatangrao4253 20 күн бұрын
Such a nice explanation before starting project !. Great Work :) and thanks for the video.
@ajudmeister
@ajudmeister 20 күн бұрын
@@dhanshreepatangrao4253 thanks for the feedback! 😀
@davidwaziri333
@davidwaziri333 20 күн бұрын
Source code pls
@ajudmeister
@ajudmeister 19 күн бұрын
Github Repo: github.com/andyjud/realtime-chat
@ashinrajm9209
@ashinrajm9209 23 күн бұрын
while running container is not running because of using postgre sql
@ajudmeister
@ajudmeister 19 күн бұрын
If your Docker container isn't running when using PostgreSQL it is most likely of misconfiguration in your Docker setup.
@datashotgg7513
@datashotgg7513 23 күн бұрын
thank you for the content! we use the same stack as your preference :)
@ajudmeister
@ajudmeister 19 күн бұрын
Nice one! :) It's an awesome stack.
@mimiomare9439
@mimiomare9439 25 күн бұрын
It took a while for me to get a hang of redis, because I'm working on Github Codespaces, but this was really helpful!
@partht21
@partht21 27 күн бұрын
How can I use temporary data with an expiration time in Redis? I'm particularly interested in scenarios like sending OTP verification emails.
@ajudmeister
@ajudmeister 19 күн бұрын
Hi, I have not done it myself but you can leverage Redis's built-in key expiration feature
@AlaeddineHamdi-x7c
@AlaeddineHamdi-x7c 27 күн бұрын
i'm now struggling in the the process of modifying the templates , can you plese explain more , i couldn't proceed to follow you , and complete the work
@ajudmeister
@ajudmeister 19 күн бұрын
Hi, modifying the template can look very complicated if you don't have much experience with html, and maybe I am not the best at explaining it. If you have any specific question please let me know.
@A--_--M
@A--_--M 28 күн бұрын
Django allauth has made breaking changes and making it extremely difficult to style all-auth pages
@ajudmeister
@ajudmeister 19 күн бұрын
Yes, they changed the structure of the templates. I run into the same problem when upgrading to the latest version. You can see my video here: kzbin.info/www/bejne/enKxioN7r5ecjsk
@CaptainCoder1
@CaptainCoder1 29 күн бұрын
Hi Andreas I was implementing the signals in code but due to some weired reason i don't know why but every time i was getting fase in the created variable Could you just help me out in this and tell me why it is happenning? What possible i might be doing wrong or any solution? Assume I have been following you strictly? Thanks and waiting for you response
@ajudmeister
@ajudmeister 2 күн бұрын
Do you mean you get created=False? This could be because the object you're trying to save already exists in the database somehow. Maybe the object is being saved multiple times in your code?
@MikeSpeer-p5e
@MikeSpeer-p5e 29 күн бұрын
Such an awesome series! Thank you! My fade-in is only working if I use div for the tag name and not fade-in. Any thoughts on why that may be?
@ajudmeister
@ajudmeister 2 күн бұрын
Hmm, maybe it is a browser issue? Or it doesn't work in any browser?