May 11, 2020 » Django on Matt Layman » [Archived Version]
On this episode, we will learn about HTML forms and Django’s form system to use when collecting input from users. Listen at djangoriffs.com. Last Episode On the previous episode, we looked at templates, the primary tool that Django provides to build user interfaces in your Django app. Web Forms 101 HTML can describe the type of data that you may want your users to send to your site. Collecting this data is done with a handful of tags.
Read MoreMay 9, 2020 » django on roschegel » [Archived Version]
Tests need to be fast. If tests are slow, our development process is affected and we end up spending a considerable amount of time waiting for the results. I will go through some of the techniques that I’ve applied to speed up tests on Django applications. Tips for speeding up test execution 1. Run your tests in parallel If you are running your tests on multi-core hardware, running your tests in parallel is probably the best optimization you can make if you aren’t doing it yet. If you are using…
Read MoreMay 6, 2020 » Django Chat » [Archived Version]
Markus is a longtime Django contributor. We discuss the work of the Security and Ops Teams, his day job at Crate.io, async, and the future of Django.
Read MoreMay 5, 2020 » Django on Matt Layman » [Archived Version]
In the previous Understand Django article, we saw how Django templates work to produce a user interface. That’s fine if you only need to display a user interface, but what do you do if you need your site to interact with users? You use Django’s form system! In this article, we’ll focus on how to work with web forms using the Django form system. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The Th…
Read MoreMay 3, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]
Most approaches to using webpack with Django work until the JavaScript app is tiny. What happens when the bundle grows?
Read MoreMay 3, 2020 » django on roschegel » [Archived Version]
The Django ORM (Object Relational Mapping) is one of the most powerful features of Django. It enables us to interact with the database using Python code instead of SQL. It has multiple advantages: The database engine is abstracted from us, so it is possible to switch to another database system with ease. It supports migrations: we can easily change our tables by updating our models and Django will automatically generate the migration scripts needed to update the database tables. It supports tr…
Read MoreApril 29, 2020 » Django Chat » [Archived Version]
Dane is the author of a new book, Practices of the Python Pro. We discuss using Django at scale, pytest, and teaching beginners.
Read MoreApril 28, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]
Django REST generic views are amazing, but working with request.data in Django REST framework can be tricky ...
Read MoreApril 15, 2020 » Django Chat » [Archived Version]
JustDjango is a popular YouTube channel and website dedicated to Django learning resources. We discuss how Matthew learned Django, building the website itself, payments, mentors, and more.
Read MoreApril 10, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]
It's common to have a single Django project serving requests for multiple domains. Learn how to route each request to the right app.
Read More