DiscoverDev Root IT. Programming. Backend Python/Django Dev
Dev Root IT. Programming. Backend Python/Django Dev

Dev Root IT. Programming. Backend Python/Django Dev

Author: Nobody

Subscribed: 35Played: 272


42 Episodes
Live development on Twitch (streaming) - - early access and exclusive content:
LinkedIn - early access and exclusive content:
LinkedIn - inheritance in Django works almost identically to the way normal class inheritance works in Python, but the basics at the beginning of the page should still be followed. That means the base class should subclass django.db.models.Model.The only decision you have to make is whether you want the parent models to be models in their own right (with their own database tables), or if the parents are just holders of common information that will only be visible through the child models.There are three styles of inheritance that are possible in Django.Often, you will just want to use the parent class to hold information that you don’t want to have to type out for each child model. This class isn’t going to ever be used in isolation, so Abstract base classes are what you’re after.If you’re subclassing an existing model (perhaps something from another application entirely) and want each model to have its own database table, Multi-table inheritance is the way to go.Finally, if you only want to modify the Python-level behavior of a model, without changing the models fields in any way, you can use Proxy models.Apple Podcasts - - Podcasts - - early access and exclusive content:
Is Django a good choice for SAAS solution (users subdomains handling, scalability, multidatabase, speed)?Get early access and exclusive content:
In this episode, we will consider some funny comments.Apple Podcasts - - Podcasts - - early access and exclusive content:
Django FAQ

Django FAQ


Get early access and exclusive content: Live development on Twitch (streaming) - - Podcasts - - Podcasts - -
Get early access and exclusive content: - I automated the Right Swipe on Tinder.It’s actually far simpler than you think.One fine lonely day, when I opened up the app, it proudly proclaimed to have launched a website too, quite similar to WhatsApp web. Yeah, that would indeed be more convenient.So having nothing better to do, I closed down the app and opened up the webpage to spend some more time looking at selfies of girls that I’m quite sure haven’t opened the app for at least one month...Apple Podcasts - - Podcasts - -
Get early access and exclusive content: in development, there’s a lot of trial, error, and correction that goes into creating something that actually works the way it’s supposed to. That’s where version control comes in.Version control is like a savings program for your project. By tracking and logging the changes you make to your file or file sets over time, a version-control system gives you the power to review or even restore earlier versions. Version control takes snapshots of every revision to your project. You can then access these versions to compare or restore them as needed.
Get early access and exclusive content: is full of shortcuts to make Web developers’ lives easier, but all those tools are of no use if you can’t easily deploy your sites. Since Django’s inception, ease of deployment has been a major goal.There are many options for deploying your Django application, based on your architecture or your particular business needs, but that discussion is outside the scope of what Django can give you as guidance.Django, being a web framework, needs a web server in order to operate. And since most web servers don’t natively speak Python, we need an interface to make that communication happen.
Live development on Twitch (streaming) - - this episode we are going to consider the following interview questions:What is Django ORM?What is a Model in Django and what is the Model class?How does Django Templating Work?What are View functions? Can we directly import a function in URL?What is Jinja Templating?Apple Podcasts - - Podcasts - - early access and exclusive content:
Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: requirements are turned into very specific test cases, then the code is improved so that the tests pass. This is opposed to software development that allows code to be added that is not proven to meet requirements.Apple Podcasts - - Podcasts - -
Written as a series of self-contained sections and filled with entertaining anecdotes, thoughtful examples, and interesting analogies, The Pragmatic Programmer illustrates the best practices and major pitfalls of many different aspects of software development.Whether you're a new coder, an experienced programmer, or a manager responsible for software projects, use these lessons daily, and you'll quickly see improvements in personal productivity, accuracy, and job satisfaction. You'll learn skills and develop habits and attitudes that form the foundation for long-term success in your career. You'll become a Pragmatic Programmer.Apple Podcasts - - Podcasts - -
This episode explains some of the fundamental philosophies Django’s developers have used in creating the framework.Apple Podcasts - - Podcasts - -
Django Security Tips

Django Security Tips


Tip 1. Carefully handle user uploads If your web application allows users to upload files, you are opening yourself to an attack vector and the upload logic should, therefore, be handled carefully. It is important to validate all uploaded files to be sure they are what you expect (for instance, an image file and not a PHP script!) If your site accepts file uploads, it is strongly advised that you limit these uploads in your Web server configuration to a reasonable size in order to prevent denial of service (DOS) attacks.The other tips only in the audio version.Apple Podcasts - - Podcasts - - Sources:
Differences between SQL and NoSQL Database Apple Podcasts - Spotify - Google Podcasts - Castbox -
What I Learned from Reading "The Pragmatic Programmer" - QuerySets of various models - What is REST API? Django REST Framework [DRF]Apple Podcasts - - Podcasts - - early access and exclusive content:
One of Django's main benefits is the built-in models and object-relational mapper (ORM). It provides a quick to use, common interface for data operations for your models and can handle most queries pretty easily. It can also do some tricky SQL once you understand the syntax. Django’s database layer provides various ways to help developers get the most out of their databases.Get early access and exclusive content: Podcasts - - Podcasts - -
If you are in the freelancing business, you will understand that it can sometimes be tricky. In your first chat with a non-technical potential client, there are a number of questions you should ask to see whether you'll be able to have a successful working relationship and outcome. By asking the following questions, you are making sure that you have gained the most useful information needed.Get early access and exclusive content: Podcasts - - Podcasts - -
Right now people have more time to spend at home. Thus I decided to recommend you some great series and movies. Most of them are documentary but it doesn’t mean they are boring. Keep your mind in the process of learning something. You will not regret it. 1. Abstract: The Art of Design. IMDb 8.4/10 2. Our Planet. 9.3/10 3. Night on Earth (2020). 8.3/10 4. Inside Bill's Brain: Decoding Bill Gates 8.1/10 5. The Last Czars. 7.3/10 6. Life Overtakes Me. 6.4/10 7. The Most Unknown 6.6/10 8. Into the Universe with Stephen Hawking. 8.6/10 9. Vsauce. Youtube channels Apple Podcasts - Spotify - Google Podcasts - Castbox -
What is Docker? How Does it Work and what’s the purpose? A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another. A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.Apple Podcasts - - Podcasts - -\Get early access and exclusive content:
Download from Google Play
Download from App Store