ruff - ultra-fast Python Linting & Formatting | Django example

  Рет қаралды 4,302

BugBytes

BugBytes

Күн бұрын

Пікірлер: 34
@majestif
@majestif Ай бұрын
Amazing tutorial, clear and concise.
@bugbytes3923
@bugbytes3923 Ай бұрын
@@majestif thanks a lot!
@anatolehagbe7301
@anatolehagbe7301 Ай бұрын
As always, you delivered a masterclass.😍
@bugbytes3923
@bugbytes3923 Ай бұрын
Thanks a lot, really appreciate the nice comment, cheers!
@mauisam1
@mauisam1 Ай бұрын
You give a lot of great advice and you explain very well. I have liked and Subscribed as I am looking forward to more great videos. I am a self taught programmer and this will help me get rid of some bad habits. Thank you for your hard work, as a fellow YT content creator I know it take a lot work work to do this.
@bugbytes3923
@bugbytes3923 Ай бұрын
@@mauisam1 that’s amazing, thank you for sharing! Best of luck with your own YT journey!
@guptaji0786
@guptaji0786 Ай бұрын
Make a video on django multi user type login and registration system.
@bugbytes3923
@bugbytes3923 Ай бұрын
I'll have a think about this. If anyone has any specific ideas on this concept, feel free to share!
@myoji5580
@myoji5580 Ай бұрын
1. Product: Seller, Customer, Admin, Moderator 2. Community: Writer, Moderator, Admin. Judege bad reply
@shopme1122
@shopme1122 Ай бұрын
@@myoji5580 Have an auth model and provide user_type options and make it db_index=true. Now create models that save data of each role. Like Seller, Customer, Admin Moderator and use them accordingly
@gonzadev
@gonzadev Ай бұрын
Thanks I share a lot of your videos!
@bugbytes3923
@bugbytes3923 Ай бұрын
@@gonzadev thank you, appreciate it!
@Amir-bd4uk
@Amir-bd4uk Ай бұрын
Thanks for the great video
@bugbytes3923
@bugbytes3923 Ай бұрын
@@Amir-bd4uk thanks for watching!!
@solijonovasadbek4552
@solijonovasadbek4552 Ай бұрын
Bravo Bro!
@bugbytes3923
@bugbytes3923 Ай бұрын
Cheers bro!
@iamtechboy3298
@iamtechboy3298 Ай бұрын
Hats off brother
@bugbytes3923
@bugbytes3923 Ай бұрын
Cheers dude!
@NuwanChamara-e1e
@NuwanChamara-e1e Ай бұрын
really helpful. thanks..
@bugbytes3923
@bugbytes3923 Ай бұрын
Thank you!
@twilkpsu
@twilkpsu Ай бұрын
Bravo!🎉🎉🎉
@bugbytes3923
@bugbytes3923 Ай бұрын
Thanks a lot!
@frameff9073
@frameff9073 Ай бұрын
good thank
@bugbytes3923
@bugbytes3923 Ай бұрын
Thanks for watching!
@themarksmith
@themarksmith Ай бұрын
Do you (or do you know how to correctly) use Prettier when working on Django HTML templates, or do you use DJ lint - or can Ruff also help here, or do you use/do something else entirely? - (I found Prettier causes probs with Django templates which is a shame)
@guptaji0786
@guptaji0786 Ай бұрын
Use django support extension in vs code. Or djhtml python package for formatting django html template.
@themarksmith
@themarksmith Ай бұрын
@@guptaji0786 Will give that a try - cheers
@bugbytes3923
@bugbytes3923 Ай бұрын
I tend to use djhtml for Django templates, as a pre-commit hook, in real projects. See this recent video: kzbin.info/www/bejne/g5Wkn4KwZ9xnpLs I only use Prettier if I'm using React/Next or some other JavaScript/TypeScript stack.
@themarksmith
@themarksmith Ай бұрын
@@bugbytes3923 Thanks - will check the video - I need to buy you a coffee for all this great content - cheers!
@madusan1
@madusan1 Ай бұрын
I abandoned prettier. I prefer djhtml. I have used djlint also.
@missunderstood7050
@missunderstood7050 Ай бұрын
Great video. Subscribed. Can you please make a video of how to set up notifications properly in Django(Using Django ninja )?
@bugbytes3923
@bugbytes3923 Ай бұрын
Thanks a lot! I'll have a look into this.
@HikmetDemirci-l9y
@HikmetDemirci-l9y Ай бұрын
I like ruff but I noticed that it has problems with formatting nested lists. It tends to put comma's were there shouldn't be.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 86 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 12 МЛН
Django & HTMX App - Charts with Plotly!
32:54
BugBytes
Рет қаралды 3,6 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 156 М.
Python 3.13's new REPL is AMAZING
10:21
Carberra
Рет қаралды 56 М.
Ruff: Faster Python Linting With Rust
1:19:13
PyCharm, a JetBrains IDE
Рет қаралды 12 М.
DuckDB and SQL - for Data Analysis and Processing
24:31
BugBytes
Рет қаралды 4,1 М.
Modern Python logging
21:32
mCoding
Рет қаралды 190 М.
django-unfold - TailwindCSS Admin Theme for Django!
25:14
BugBytes
Рет қаралды 6 М.
Some tricks with UV
11:45
CalmCode
Рет қаралды 3,5 М.
OOP in Pure C
2:00:13
Tsoding Daily
Рет қаралды 77 М.
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 86 МЛН