So, you’re a Python developer or you just use Python to make your life easier by writing utility scripts to automate repetitive tasks and boost your productivity.Such Python scripts are usually local to your machine, run from the command line and require some Python skills to use including for instance setting up a virtual environment and knowing the basics of using the CLI.You may have wondered what it involves to convert a script like this into a web app to make it available for other users such as your family members and co-workers. In this article, I’ll walk through the…
Topic Archive
Django
-
-
This series will be a deep dive into a Django project I developed and the thought process behind each step.
-
Watch here: Listen here: This week we talk with James Dycus about his journey from teacher to Python software developer. We talk about his background as a teacher and how het got into Python. How he joined our PDM program a few months ago and the amazing growth he has experienced since by building out a mature real world application using Django 🐍 We talk about the idea behind his app, something he always wanted to build and now has accomplished, a functional MVP on the brink of being officially launched 🎉 The app (product) addresses an important need in…
-
Watch here: Or listen here: He’s back! Django by Example book author Antonio Melé 😍 Not only that, we did this interview in person at a cafeteria on the beach 🏖 In this episode he shares his 10 favorite Django plugins 💪 💡 1. Django Debug Toolbar 2. Django REST Framework 3. Django Channels 4. Django Celery 5. Django Extensions 6. Django allauth and social-auth 7. Django Import Export 8. Django Sentry 9. Django Easy Thumbnails / Imagekit 10. Django-parler Of course we also asked him what he’s reading at the moment: – Nudge Connect with Antonio:– LinkedIn– Pybites Slack Antonio’s previous Pybites podcast episode is number 89 And last but not least, get Antonio’s epic Django…
-
Django class based vs function based views
·
·
3 min readThis post first appeared as an email on our friends list. We decided to publish it here because the question is still commonly asked 🤔 The other day I did a presentation on Django class based vs function based views. (Warning: this post is opinionated 😃) Also if you’re not into Django don’t stop reading just yet, because there are parallels with common software design patterns you might find interesting. Here is a summary of interesting things I presented (and credit to Luke Plant’s Django Views the Right Way for cementing what I already started to sense using both types of views, and Ryan for sending it my way): – Class based views (CBVs from here…
-
Practical Django with Antonio Melé
·
·
1 min readListen here: This week we have Antonio Melé on the show, CTO & co-founder at Nucoro and author of Django 4 by Example. We talk about: – His day to day at Nucoro. – Why he chose Django as a web framework and how he uses it at the company. – What inspired him to write a highly practical (dense) book on Django. – Some challenges he faced (and faces) with writing a “colossal” Django book 🙂 – Tips on learning new (complex) technologies. – What adjacent skills are most important for the Django developer. – Class based vs function based views?…
-
What we learned from building our own CMS using Django
·
·
4 min readDjango – The web framework for perfectionists with deadlines – indeed! We managed to get a simple MVP out in just 4 weeks using our JIT learning approach … In an effort to teach Julian Django, we figured we’d “eat our own dog food” and “learn by building”! As always though, the hard part is figuring out what to build! Again, eating our own dog food, we asked ourselves: “What sucks about the admin work we do here at Pybites day-to-day?” We realised that the tooling we used had become a little bloated, slow, had a lack of integration and was just…
-
How to make a nice graph using Django and Chart.js
·
·
7 min readIn this article I will show you how to make a beautiful yet simple graph using Django + Chart.js. The code for this project is here. Getting the data We are going to plot the number of Bite exercises that get completed per month on our platform. For this I exported the live data from the corresponding table in our database using this handy Postgres command: This will export the content of the table to a csv file. Setting up Django Next we will make a Django project and app so we can share it with this post: Note the…
-
Listen now: In this episode we tell the story about Pybites CMS, our new powertool we use to better streamline our business. We tell why we built it, how it was an opportunity for Julian to brush up his coding skills, how we applied the PDM philosophy of learning by building, scratching your own itch. Join our Facebook group here (live training coming soon!): https://www.facebook.com/groups/pybites And if you want to take your Python and dev skills to the next level, check out our PDM coaching program here:https://pybit.es/catalogue/the-pdm-program/ We could not find the mentioned article about shipping fast, but we certainly have…
-
Building a Stadia Tracker Site Using Django
·
·
5 min readBuilding my first Django Site and learning so much more than Django