- 122
- 343 016
Andreas Jud
เข้าร่วมเมื่อ 17 ธ.ค. 2007
Tech-curious web designer, Django programmer, solopreneur, stay-at-home dad of two
Tag and Search in Wagtail - Part 2
In this video we will integrate Tagging and Search into our Django app with Wagtail.
Repository: github.com/andyjud/wagtail
Live Blog: awesomepixx.com/blog
0:00 Demo
1:38 Article Tag Class
5:20 Tag Loop
9:08 Search Query
11:28 Search Field Index
15:40 Search Value and Empty Results
17:30 Reversed Order with Sorted
Support me on:
Patreon: www.patreon.com/andreasjud
Buy me a Coffee: www.buymeacoffee.com/andreasjud
Merch Store: andreas-juds-store.creator-spring.com/
Thank you.
Follow me on:
Twitter: ajudmeister
Instagram: ajudmeister
#wagtail #django #webapp #tailwindcss #python #pythonprogramming #selftaughtdeveloper #webdevelopment #webdesigner #programmer #coding #codingforbeginners #entrepreneur #solopreneur #stayathomedad
Repository: github.com/andyjud/wagtail
Live Blog: awesomepixx.com/blog
0:00 Demo
1:38 Article Tag Class
5:20 Tag Loop
9:08 Search Query
11:28 Search Field Index
15:40 Search Value and Empty Results
17:30 Reversed Order with Sorted
Support me on:
Patreon: www.patreon.com/andreasjud
Buy me a Coffee: www.buymeacoffee.com/andreasjud
Merch Store: andreas-juds-store.creator-spring.com/
Thank you.
Follow me on:
Twitter: ajudmeister
Instagram: ajudmeister
#wagtail #django #webapp #tailwindcss #python #pythonprogramming #selftaughtdeveloper #webdevelopment #webdesigner #programmer #coding #codingforbeginners #entrepreneur #solopreneur #stayathomedad
มุมมอง: 79
วีดีโอ
Create a Blog in Django with Wagtail - Part 1
มุมมอง 1Kวันที่ผ่านมา
In this video we integrate the Wagtail CMS into a Django application and create a blog page with articles. Repository: github.com/andyjud/wagtail Django-Starter: github.com/andyjud/django-starter Live Blog: awesomepixx.com/blog 0:00 Intro & Demo 4:13 Django-Starter Setup 6:50 Wagtail Installation 10:45 Blog Page 16:04 Article Page 24:26 Articles Loop 29:00 Reversed Order Support me on: Patreon:...
Subscriptions with Stripe and Django - Part 7
มุมมอง 469หลายเดือนก่อน
In this video we implement a subscription model with Stripe with 3 tiers. Repository: github.com/andyjud/stripe Django Live Site: awesomepixx.com 0:00 Demo 2:08 Subscription page 4:32 Products on Stripe 6:33 Checkout Session 11:04 Database Subscription Object 21:10 Cancel Subscription 24:00 Switch Plan Support me on: Patreon: www.patreon.com/andreasjud Buy me a Coffee: www.buymeacoffee.com/andr...
Htmx and AlpineJS upgrade - Stripe with Django - Part 6
มุมมอง 551หลายเดือนก่อน
In this video we will upgrade the product page with htmx and AlpineJS to create a fast and smooth user experience. Repository: github.com/andyjud/stripe Django Live Site: awesomepixx.com 0:00 Demo 1:24 Load image with Htmx 6:05 Add selection highlight with AlpineJS 13:06 Dynamic values for backend Support me on: Patreon: www.patreon.com/andreasjud Buy me a Coffee: www.buymeacoffee.com/andreasju...
E-Commerce Variation with Django and Stripe - Part 5
มุมมอง 5462 หลายเดือนก่อน
In this video we will see how we can add variations e.g. different product images, colors, sizes and qualities to a product. Repository: github.com/andyjud/stripe Django Live Site: awesomepixx.com 0:00 Demo 2:17 Models 8:23 Product Variation page 16:02 Interactive Options 22:00 Add to Cart 28:10 Unique Item IDs 35:25 Stripe Checkout Support me on: Patreon: www.patreon.com/andreasjud Buy me a Co...
Checkout with Stripe and Shipping Info - Part 4
มุมมอง 4352 หลายเดือนก่อน
In this video we will create a checkout page to receive the shipping information from the customers and finish the payment process with Stripe. Repository: github.com/andyjud/stripe Django Live Site: awesomepixx.com 0:00 Demo 2:14 Shipping & Checkout Models 5:12 Shipping Form 6:08 Checkout Page 9:15 Checkout Logic 15:48 Prefill Shipping Details Support me on: Patreon: www.patreon.com/andreasjud...
Shopping Cart with Stripe, Django and Htmx - Part 3
มุมมอง 8182 หลายเดือนก่อน
In this video we will build a Shopping Cart page, we create a cart class, a cart session and add interactivity to the site with a htmx event trigger and out of band swap. Repository: github.com/andyjud/stripe Django Live Site: awesomepixx.com 0:00 Demo 2:00 Shop page 8:33 Product page 10:56 Cart class 15:00 Context Processor 16:00 Add to Cart 22:10 Htmx & Event Trigger 26:52 Cart page 35:00 Rem...
Payment (One-off) with Stripe and Django - Part 2
มุมมอง 1.1K3 หลายเดือนก่อน
In this video we will build a one-off payment process using the Stripe API. Repository: github.com/andyjud/stripe Django Live Site: awesomepixx.com 0:00 Stripe API Secret Key 3:25 Stripe Price ID 5:27 Stripe Product ID 8:46 Stripe Checkout Session 15:15 User Payment Record 18:18 Webhook Support me on: Patreon: www.patreon.com/andreasjud Buy me a Coffee: www.buymeacoffee.com/andreasjud Merch Sto...
Stripe payments with Django - Intro - Part 1
มุมมอง 2.3K3 หลายเดือนก่อน
In this video I give an introduction to Stripe payments and set up a basic Django app Repository: github.com/andyjud/stripe Django-Starter: github.com/andyjud/django-starter Django Live Site: awesomepixx.com 0:00 Demo & Workflow 3:48 Django-Starter Setup 6:00 Stripe app & Model 8:42 Frontend Support me on: Patreon: www.patreon.com/andreasjud Buy me a Coffee: www.buymeacoffee.com/andreasjud Merc...
SAAS with Django Tenants & Auto Tenant Creation - Part 5
มุมมอง 1.8K3 หลายเดือนก่อน
In this video we will deploy our Django Tenants application Repository: github.com/andyjud/tenants Django Live Site: awesomepixx.com 0:00 Demo 2:42 Django-Starter & Postgres Container 4:50 Django-Tenants Setup 7:42 SaaS Auto Tenant Creation 13:09 Session Cookies 15:00 Tenant Landing Page 16:32 Tenant-Member relationship 20:24 List of tenants 22:04 Member Roles / Permissions Support me on: Patre...
Deploy Tenants with Django, Railway, AWS S3 bucket & Porkbun - Part 4
มุมมอง 1.1K4 หลายเดือนก่อน
In this video we will deploy our Django Tenants application Repository: github.com/andyjud/tenants Deploy Tutorials: th-cam.com/video/BO6O3I88mU4/w-d-xo.html Django Live Site: awesomepixx.com 0:00 Intro 1:30 Environment Variables 3:20 Static Files 3:56 Remote Database 7:16 Deploy App on Railway 11:42 AWS S3 Bucket 19:35 Custom Domain with Porkbun 25:42 Custom Schema Storage 29:10 Auto Create Sc...
Customize a Tenant with Django & Custom File Storage - Part 3
มุมมอง 1.5K4 หลายเดือนก่อน
In this video we will customize a tenants site and create a custom file storage for media files. Repository: github.com/andyjud/tenants Django Live Site: awesomepixx.com 0:00 ColorField property 4:35 Custom Header Template Tag 8:34 Logo upload 10:50 Tenant File System Storage 12:46 Custom Schema Storage 15:55 Multi-Tenant relative Media Root 18:15 Car Dealer tenant Support me on: Patreon: www.p...
Deploy Docker Image, Github Container Registry & Github Actions - Docker Part 4
มุมมอง 1.4K5 หลายเดือนก่อน
Deploy Docker Image, Github Container Registry & Github Actions - Docker Part 4
Docker Compose with Celery, Flower, Beat and Redis containers - Docker Part 3
มุมมอง 2.8K5 หลายเดือนก่อน
Docker Compose with Celery, Flower, Beat and Redis containers - Docker Part 3
Custom Logging with Django - Log to Console, File and Email
มุมมอง 1.4K6 หลายเดือนก่อน
Custom Logging with Django - Log to Console, File and Email
How to deploy Celery, Flower and Beat - Django Background Tasks - Part 5
มุมมอง 1.8K7 หลายเดือนก่อน
How to deploy Celery, Flower and Beat - Django Background Tasks - Part 5
How to send a newsletter with Celery Beat - Django Background Tasks - Part 4
มุมมอง 1.2K7 หลายเดือนก่อน
How to send a newsletter with Celery Beat - Django Background Tasks - Part 4
How to monitor Celery Tasks with Flower - Django Background Tasks - Part 3
มุมมอง 3.5K7 หลายเดือนก่อน
How to monitor Celery Tasks with Flower - Django Background Tasks - Part 3
How to set up Celery and Redis - Django Background Tasks - Part 2
มุมมอง 4.2K7 หลายเดือนก่อน
How to set up Celery and Redis - Django Background Tasks - Part 2
How to send Email Notifications as Background Tasks with Celery - Python Threading - Part 1
มุมมอง 3.6K7 หลายเดือนก่อน
How to send Email Notifications as Background Tasks with Celery - Python Threading - Part 1
Deploy with Daphne and Redis - Real-Time Chat app - Part 10
มุมมอง 4K8 หลายเดือนก่อน
Deploy with Daphne and Redis - Real-Time Chat app - Part 10
Django Deploy with Render, PostgreSQL, Cloudinary, Gmail, Github & Tailwind
มุมมอง 1.8K8 หลายเดือนก่อน
Django Deploy with Render, PostgreSQL, Cloudinary, Gmail, Github & Tailwind
Sending Files - Real-Time Chat app - Part 9
มุมมอง 2.7K8 หลายเดือนก่อน
Sending Files - Real-Time Chat app - Part 9
Live Activity Monitoring - Real-Time Chat app - Part 8
มุมมอง 2.2K8 หลายเดือนก่อน
Live Activity Monitoring - Real-Time Chat app - Part 8
Group Chat - Real-Time Chat app - Part 7
มุมมอง 3.4K9 หลายเดือนก่อน
Group Chat - Real-Time Chat app - Part 7
Private Chat - Real-Time Chat app - Part 6
มุมมอง 4.8K9 หลายเดือนก่อน
Private Chat - Real-Time Chat app - Part 6
been looking for a good wagtail tutorial for ages, THANK YOU SO MUCH Andreas Jud, very much appreciated.
Excellent Bro continue your work and good luck
Do bullet points and numbered lists work for you? For me they won´t show up in the article page
@@chadwickm.2524 tailwind resets all the styles, so you can customise it to your liking. Here is the standard one: ul, ol { list-style: initial; padding-left: 40px; margin: 0 0 1em 0; }
Okay I added this in the base.html (css): ul { list-style-type: disc; margin-left: 1.5rem; } ol { list-style-type: decimal; margin-left: 1.5rem; } li { margin-bottom: 0.5rem; }
Heyy sir, Nikhil here from India, I am glad that someone is posting such a good level of content for free on TH-cam. I see the amount of effort you are putting into this. Loved your content man awesome keep it up 💎🤍✨
Awesome, thanks so much for your feedback!
Hi, what’s the meaning of using django starter first? Is it for the custom user model?
It’s a basic django application which has user profiles and a settings page added to it. However you can use your own django project if you have one.
Awesome project as always. I'm looking forward to code it at the weekend :)
please also show how to add login/subscribe and payments with paywall
This can be done with Stripe. Have a look at my tutorials.
❤
Bravo well done 🙏
❤
❤
❤
I just started to dive into wagtail and this is super useful! Thanks for sharing your knowledge
@@matipendino879 thanks and good luck!
Andreas, my friend, your content keeps getting better and better. I wish yo continue making these. May I suggest a series on HTMX?
Thanks for the feedback! Great suggestion. I series on just htmx would be useful. I will put it on the list.
Andreas tnx for video. When I switch (in blog_page.html) "for loop" from "...page.get_children" to "articles", I loose my article on the web page... Must be I missed something.... 30:07 on timelap
do you have the def get_context(self, request) defined in the models.py file? there you create the articles object and add it to the context.
@ajudmeister Yes. I have copied that from Yoiur GitHub.
@ajudmeister Yes I have copied that from Your GitHub...
Great content !! Love your series. Looking forward to the upcoming videos.
Hi andreas, I followed your real time chat app project and I learnt a lot - now I have free time again - I am starting this project with wagtail - will follow till then end - how many parts do u plan for this ?
Hi, thanks for following. I can't say how many parts, but it probably is a shorter one, it sometimes depends what people want to see.
@@ajudmeister Noted andreas
❤
Well done
❤
Well done
Exzellent Bro continue your work and good luck
Is there a reason you use allauth instead of the default django authentication?
yes, it is great at handling the user signup process with email verification and password reset workflows. It also comes with a bunch of standard login templates you would otherwise build yourself.
This is great man, really appreciate am a beginner
I have carefully follwed all the steps still in tailwind.css file @tailwind or @apply is not being recognised, Im stuck please help!
did you add the type? <style type="text/tailwindcss">
@@ajudmeister yes!
@@arpitajana947 Sorry, you were talking about the tailwind.css file. So you are saying standard css works in this file, but @apply code doesn't? @tailwind base; @tailwind components; @tailwind utilities; /* This doesn't work? */ h1 { @apply text-4xl font-bold mb-4 } /* This doesn't? */ h2 { font-size: 1.5rem; font-weight: bold; margin-bottom: 0.75rem; } After you run the tailwind command, do you see the @apply styles in the output css file? If you don't see them there, there is something wrong with the tailwind configuration.
@@ajudmeister Yes right i dont see @apply in output CSS file, can you help me resolve this?
Bravo man
Really amazing awesome tutorial I have never seen tutorials like this before
thanks for the feedback :)
❤
I have a issue the images are storing in the postgresql but not in the cloudinary instead of that it is storing in local folder by creating a folder with the name specified in models
It looks like you might not have configured the cloudinary upload functionality correctly. Does your config look like this: STORAGES = { "default": { "BACKEND": "cloudinary_storage.storage.MediaCloudinaryStorage", }, "staticfiles": { "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage", }, }
I having the error of /bin/bash: line 1: gunicorn: command not found while deploying my application. the gunicon is installed, listed in the requirements.txt file and it is in the Procfile too. I don't know what could be the cause. the database is working fine.
It looks like your Gunicorn executable is not available in the environment where your application is running. Did you add the Start Command in the Settings on Railway? gunicorn yourcoreapp.wsgi ?
Bro I can’t learn anything from this tutorial my docker container keeps crashing when I boot it up
@@YoucancallmeRichLive hmm, this could be caused by many factors. Are you sure your configurations are correct?
thank you for the content!
Thanks for this video, it is very useful. I was wondering that if I have a ecommorce website built with Django and I have already other apps and models for Customer, Product etc. - do I have to add that kind of fields in the UserPayment model or I have to create there a foreign keys? I will be grateful for a response.
I think the cleanest way would be to use foreign keys to avoid duplications.
I am having a minor doubt, how do we know that all the animations and effects are being applied to the new message only and not all the messages when we render the page.
If the animation is placed only on the htmx partial which triggers when the user interacts with the page, the animation will not happen when rendering the initial page.
@@ajudmeister Ok, thanks a lot and keep up the good work.🙌
30:30
haha, i switched screens, not actually clicked on the settings link
@@ajudmeisteroh na this timestamp is for my reference, i left here
this channel is great. Very practical and exactly what i needed. Thanks Andreas.
Glad to hear it helps.
Andreas I follow you from Colombia, thank you for your videos I have learned a lot
Thank you so much for the feedback!
would this be using nginx on Render?
Yes, as far as I know Render uses NGINX
Hi Andreas, when i am in mobile view of the website and i scroll to bottom posts are not loading. My infinite scroll isn't working. Can you tell what could be the problem? Edit: problem solved element was not properly revealed when reach bottom so i gave mb-14 and it worked.
Hi, sorry for the late reply. I am glad you fixed it. Yes, the element needs to be revealed on the page and sometimes some css can help :) gj
Hello thnks a lot for your videos thinking of learning django is it a good framework for a soloproneur making his own saas apps ? Or should i go with next js
Depends what language you like to use and if you need frontend and backend. Python is a much cleaner and much easier to understand language, but if you prefer javascript then next js is a good option too. Django, in my opinion, is the best full-stack framework for general use, and can be applied to almost all use-cases, frontend and blackend, especially for solopreneurs, as many core features are already build-in and there is a huge community for support. Next js is only frontend and needs to be combined with a backend, like a javascript backend with Node.js (eg. Express.js or NestJS) or you could also combine it with Django as the backend (eg. Django Rest Framework)
Subscribed - I feel more confident about deploying django to Railway after your video.
The tutorial was amazing, but I am facing the following problem, Reverse for 'profile' with arguments '('admin',)' not found. 1 pattern(s) tried: ['profile/\\Z'] Can anyone help me?
Hi, thanks for the feedback. Could it be that the admin user does not have a profile object in the database? This could have happened because the signal was not yet created when creating the user object. Try to manually create a profile object for the admin user through the admin interface.
@ajudmeister the anchor tag that sends us to the user's profile "message.author.username" is causing this. Thanks for the reply, I have checked the Profiles and there is a profile created for the admin user.
@@ajudmeister Ok, I got it. I have not updated the profile view to accept usernames. 👍
Almost ok, the problem is you didn't listen for events when the charge.failed
Yes, you're right; I didn't fully cover webhooks with event triggers, as they require a live site to be properly tested. When I have a live service, I might add this to the series. Cheers.
@@ajudmeister perfect thanks!
I keep getting errors on the other_user = User.objects.get()
my redis not work redis.exceptions.ConnectionError: Error 11001 connecting to red-*****:6379. 11001.
Thank you for your work! Great explanations. Came here from the superb django-htmx tutorial you made.
Thanks a lot for the feedback. Ajax is one of those interesting topics in web development I had to explore, and this is where htmx makes it so simple.
I will no longer watch your videos because you provide all the code only in exchange for money
not true. 99% of the code is free to use and available on my github repository. I put a lot of effort in making the frontend templates which I will ask for a small contribution, but they are absolutely not necessary to follow the tutorial.
I will no longer watch your videos because you provide all the code only in exchange for money
not true. 99% of the code is free to use and available on my github repository. I put a lot of effort in making the frontend templates which users can use for a small contribution, but they are absolutely not necessary to follow the tutorial.
@@ajudmeister Well, why don’t you provide those parts of the code that are very important for a project? Sometimes I am forced to stop following your lesson because I don’t have access to those parts of the code that you have put behind a paywall. There are many people like me.
@@ajudmeister I know that your level in programming is very high, but I have a suggestion for you. Why don’t your subscribers increase rapidly, or why do they grow very slowly? The reason is those parts of the code that you put behind a paywall. I had subscribed to you, but in one of your lessons, you mentioned that the code must be obtained from the Patreon site. I went to that site, and there it asked me for money. That’s why I unsubscribed from you. Even though $10 or $5 isn’t a big amount, I know that for programmers in Afghanistan, it is a very significant amount. Do you know that?
@@ajudmeister So if it is paid for others, please, if it’s not a problem, provide it for Afghan programmers for free.
How would you add authentication on part of Alpine here...
Hi, not sure what exactly you mean, but if you want to add AlpineJS to the page check out this tutorial where I add a dropdown menu using AlpineJS: th-cam.com/video/RR7z_eg_QHY/w-d-xo.htmlsi=P4ilzotuwQmi-m3G&t=246
subscribed