- 76
- 643 740
Django road
United Kingdom
เข้าร่วมเมื่อ 22 พ.ค. 2020
Django development and deployment.
5 steps I follow to launch an early-stage SaaS app as a developer
How I'd launch an early-stage SaaS quickly while following some standards for the code itself.
Chapters:
---------------
0:00 intro
0:44 1. the design
1:09 2. React-ification
1:37 3. the API
2:16 4. deployment
3:36 5. domain email
3:55 outro
Chapters:
---------------
0:00 intro
0:44 1. the design
1:09 2. React-ification
1:37 3. the API
2:16 4. deployment
3:36 5. domain email
3:55 outro
มุมมอง: 1 281
วีดีโอ
Hands-on introduction to Kubernetes: Part 2 - variables and secrets
มุมมอง 4477 หลายเดือนก่อน
In this second part of the hands-on series to learn Kubernetes, we'll deploy a Django app and feed it variables and secrets upon startup. We do this using ConfigMaps and Secrets. Link to code: github.com/dotja/kubernetes-hands-on/tree/main Chapters: 0:00 intro 0:13 ConfigMap 0:28 Secrets 0:50 demo
Hands-on introduction to Kubernetes: Part 1 - simple deployment
มุมมอง 7899 หลายเดือนก่อน
This is part 1 of a multi-part series to learn various concepts in Kubernetes through hands-on tasks. In this part 1, we'll do a simple deployment of a Django app. Link to code: github.com/dotja/kubernetes-hands-on/tree/main Chapters: 0:00 intro 0:17 Dockerfile 0:41 build image 0:52 Deployments 1:24 deployment.yaml 1:40 Services 2:06 service.yaml 2:18 apply YAML files 2:45 Pod re-creation
A simple pagination example in Django
มุมมอง 2.9K9 หลายเดือนก่อน
In this video, we'll use the default paginator functionality in django.core. This feature is highly customizable depending on the data you want to display so check out the docs for more options. Chapters: 0:00 intro 0:10 code setup 1:20 demo
File logging example in Django
มุมมอง 1.4K10 หลายเดือนก่อน
In this video, we'll configure a Django project to log information produced by the Django development server to a local log file. This involves configuring the LOGGING variable in settings.py Chapters: 0:00 intro 0:13 logging elements 0:28 Django loggers and handlers 1:14 default logging parameters 1:25 configuring LOGGING 1:57 demo
Minimally styling a Django site
มุมมอง 94110 หลายเดือนก่อน
By just adding simple.css as a CDN in your HTML template, any regular HTML element will get styled minimally. In this video, we'll look a bit more closely at simple.css and how to use it in a Django template.
Creating your own custom tags and filters in Django
มุมมอง 1.1K10 หลายเดือนก่อน
The Django template engine contains many tags and filters that can be used in the HTML templates. In this video, we'll explore the ability to create custom template tags. Extending on existing tags and filters allows you to have a clean and refactored code. Chapters 0:00 intro 0:11 setup 0:58 demo
authenticate() Vs. login() in Django
มุมมอง 1.1K10 หลายเดือนก่อน
When building a user app in Django, you most likely will use both authenticate() and login(). In this video, we'll look into what each method is used for.
Using multiple databases in Django
มุมมอง 3K11 หลายเดือนก่อน
In the DATABASES variable in settings.py, you can specify more than 1 database. As well as various database engines. In this video, we'll use 2 SQLite databases with Django and add data to one or the other. Chapters: 0:00 the DATABASES variable 0:21 migrating a model 0:37 adding data to databases 1:26 routing
Translate your Django site to multiple languages
มุมมอง 8K11 หลายเดือนก่อน
Having your website in several languages is good SEO practice. In this video we'll explore Django's translation system and look at how to implement multiple languages in a Django app. Chapters: 0:00 intro 0:10 setup 0:52 middleware and URLs 1:19 po and .mo files 1:38 translation in views.py 2:18 translation in HTML 2:38 translation in models.py
6 uses of Django's Meta class
มุมมอง 2K11 หลายเดือนก่อน
The Meta class in Django is used to change the behaviour of the model fields in which it is defined. In this video, we'll explore some uses of Django's Meta class. Chapters: 0:00 intro 0:16 #1: abstract 0:31 #2: app_label 0:52 #3: verbose_name 1:08 #4: ordering 1:19 #5: db_table 1:34 #6: indexes
Optimizing Full Text Search in Django
มุมมอง 1K11 หลายเดือนก่อน
In last week's video, we implemented Postgres's Full Text Search (FTS) in a Django app. In this video, we will optimize the code from last week such that the search becomes faster. Chapters: 0:00 intro 0:21 Search Vector Field 0:35 updating the Search Vector Field 1:10 search_query method 1:33 indexing 1:53 outro
A smarter search functionality in Django
มุมมอง 1.1Kปีที่แล้ว
In this video, we implement concepts covered in a previous video about Postgres's Full Text Search (FTS). The goal is to build a smarter search functionality within a Django app. docs.djangoproject.com/en/4.2/ref/contrib/postgres/search/#top Chapters: 0:00 intro 0:14 database setup 0:41 HTML template 0:53 views.py 1:26 demo 1:41 outro
Explaining Full Text Search in PostgreSQL
มุมมอง 1.1Kปีที่แล้ว
Search bars are now a very common part of a website. In this video, I will give a brief explanation of FTS (full text search) on PostgreSQL. This allows you to build a robust and responsive search utility. Chapters: 0:00 intro 0:27 FTS 0:47 technical terms 1:06 how it works 1:39 extras 1:50 outro
A faster way to write CRUD views in Django
มุมมอง 1.9Kปีที่แล้ว
The typical way to create views in Django is using classes and functions. In this video, we'll explore a module that allows us to have up-and-running Django views in a few simple steps. Neapolitan: noumenal.es/neapolitan/ Chapters: 0:00 intro 0:09 function views 0:19 class views 0:37 Neapolitan 0:47 code 1:14 demo 1:37 outro
Building a simple chat app (Django + Channels)
มุมมอง 3.7Kปีที่แล้ว
Building a simple chat app (Django Channels)
Explaining Django's channels without code
มุมมอง 1.4Kปีที่แล้ว
Explaining Django's channels without code
Understanding OAuth before using it with Django
มุมมอง 1.5Kปีที่แล้ว
Understanding OAuth before using it with Django
Paypal payments with Django (Server side)
มุมมอง 3.9Kปีที่แล้ว
Paypal payments with Django (Server side)
Very underrated channel. It is pure gold. If you are working on project for over 10k traffic with simultaneously used session
Very sfraight forward example. Thank you
where is the file validation .py from where you imported the custom_validation .
You just do stuff and don't explain why. "I'm gonna do this" then "I'm gonna do that" then "I'll call it 3.7" then "a little of this" then "a little of that." Yup, ok! Thanks guy! Thanks for whatever that was! Man the bar is low. Dying for a Digital Ocean post here.
Thanks for the video, I have got it running.
Which version of python you used in this project ?
Love you! Whoever you are!
Thank you for the explanation but I finding it difficult to deploy a monorepo(having both client and server on the same github repository) application. I used next js and I want to deploy only the client side on aws amplify. Anytime I try I get error which tries to install prisma from the server folder meanwhile i set the root to be the client folder only. Help me with it.
Why your voice is like 2 years kid 😂😂😂😂
This was so helpful, thank you so much
ey men, can you do a video that explain how deploy django whit ngnix, daphne, docker and kubernetes
I might be missing something but how does a Django server set the browser cookie? It's not being set in the React app so I'm completely baffled how that's being set. Anybody? Thanks
Can I use nginx to serve media file? I mean, media uploaded by user
Thank you very much for your dedication!
I was looking for such a nice tutorial for long time. Could you please integrate myql db rather than sqlite3 in your source code and then dockerize this full project
useful stuff, thank you!
for fixed files yes you can do this but then you don't need to use Django anyway ? How can I do this on dynamic sites, posts, slugs, h1, title, content?
without your video I'd have probably thrown my PC out the window by now. fantastic, thank you so so much
Add Tiltfile + K9s to the stack 🚀
Very helpful!
It's so rare that I click like on a video, but wow this was a great video. Had to go seerching in my apps UI to even find the button. Thank you for the explanation.
Thanks, I appreciate it!
Te amo!!, muchas gracias!
Thanks for the tutorial. Excellent explanation. Can yo repeat the same process for Django Ninja?
Very good video. Summarizes all details of internationalization in Django. Helped a lot and saved time while easily implementing language support. Thanks!
Hey! I see you have included stripe payment as well but don't see any product file in your code which product
Thanks!
Amazing Tool.
I'm here coz I want to go back to django from node. it's nice there is still tutorials using the session token instead of JWT
Fantastic explanation. Good luck with your channel and keep up the good work. Bien joué et merci!
can translate for data in database? because in database english and i want translate to french
Thank You this is Great! I took Notes on all the steps. I would add you should be integrating unit tests so that you don't rely on manualy testing your API.
This is what I was looking for, thanks a lot! Keep making this kind of content.
loved that explanation good job
I am not able to reach the static files by your method
Once you make it work on nginx. Will I be able to access it with other devices using my wifi network, by typing in the public IP?
how to accept requests from forms? i get csrf token 403 error. I am using the { % csrf_token % } and still the error.
Clear and simple instructions. Still a great tutorial in 2024!
where source code for this example?
Marvelous explanation!
Worked for me!
Thanks so much
I've used nginx, it's pretty convenient to do in containers and automatically have Django collect static into a volume shared with nginx, then reboot the nginx container and voila🎉
Hi there, I have a question. When you modify the superuser in the user model before modifying it, it works. but when I modify the user for the new user model, it no longer allows me to create a super user, how can I create a separate user model?
I loved your tutorial, very fast and easy to follow, keep up the good work!
Nice video, thanks. I just wonder what’s the difference or pros and cons between serving statics with WhiteNoise vs serving statics with web server. Although I guess in production for real projects, statics will be serve by a cdn, right ?
Thank you for the video, how would you deploy this app after this? I tried using AWS but running into a lot of trouble
Best Video
Thank you
This is a treasure 🤑