 
      
    | You are here | keepsimple.dev | ||
| | | | | www.valentinog.com | |
| | | | | How to create a Django REST API? How to structure a Django project with React? Here's a practical introduction to Django REST with React. (Django 3) | |
| | | | | geoff.tuxpup.com | |
| | | | | I'm working through Hypermedia Sytstems using django and htmx in public. This post picks up with Chapter 5: HTMX Patterns. If you haven't read the prior posts, they're linked from the introductory one. The code can be found on sr.ht. To pick up where this post does, start from the tag contacts-app-web1.0. Even though it's possible (and reasonable!) to integrate htmx without it, I'm going to add django-htmx to my environment now, then integrate it into my django project. | |
| | | | | www.mattlayman.com | |
| | | | | This article will look at how maintainers of an application can manage their data through Django's built-in administrative tools. We will see how to build admin pages and customize the admin tools to help teams navigate their apps. | |
| | | | | www.paepper.com | |
| | | Unit testing your models in Django As a good developer, you write unit tests, of course. You will probably even write your tests before implementing your logic in a test-driven approach! However, when developing complex models which have interactions and foreign keys, writing tests can get messy and complicated. Say you want to test a model which has many dependencies to other models via foreign keys. To create an instance of your model, you first need to create all the other model instances which your m... | ||