Ideas you can put to work

Articles

Explore software, AI, and the systems behind everyday applications.
Practical explanations, examples, and things to try.

41–60 of 84 articles

Newest first

Testing in Django with DRY code and Factory Libraries

Learn how to efficiently run dry tests in Django using DRY principle and factory libraries like factory_boy and model_mommy. Optimize your testing process and ensure the reliability of your code with examples and tips provided in this blog post.

Humanize - Django Utils

Django comes with a set of template filters to add a "human touch" to data. It is used to translate numbers and dates into a human readable format.

Django Redirects App

Django comes with an optional redirects application. It lets you store redirects in a database and handles the redirecting for you. It uses the HTTP response status code 301 Moved Permanently by default.

How to Use Django's Flatpages App

A flatpage is an object with a URL, title and content. Use it for one-off, special-case pages, such as “About” or “Privacy Policy” pages, that you want to store in a database but for which you don’t want to develop a custom Django application.