the red penguin
HOME ABOUT SITEMAP BLOG LOGIN

Advanced Web Development

38. Writing API tests

38.01 Simple test Let’s start with a simple test, then we’ll explain how to test our API. In tests.py we read more

December 1st, 2021 Posted in Advanced Web Development

37. Testing in Django

37.01 Introduction Code testing is a way that we can be sure that our code works, as we believe it read more

December 1st, 2021 Posted in Advanced Web Development

36. Class-based views in the Django REST framework

We’ve already seen that provides the means of writing either function-based or class-based views. The class based views gave us read more

November 24th, 2021 Posted in Advanced Web Development

35. Building a RESTful web service in Django

We’re going to return to the bioscience app that we’ve been developing and create a RESTful API for the data. read more

November 24th, 2021 Posted in Advanced Web Development

34. Introduction to CRUD, REST and APIs

34.01 Introduction to CRUD CRUD is an acronym for the four functions that are considered necessary to implement a persistent read more

November 24th, 2021 Posted in Advanced Web Development

33. Refactoring with generic views in Django

32.01 Refactoring the index function So far we’ve been investigating Django views and templates, and also how we use the read more

November 17th, 2021 Posted in Advanced Web Development

32. Django validators

We’ve seen two ways of building Django forms: by declaring the variables independently by inheriting the variable types from our read more

November 17th, 2021 Posted in Advanced Web Development

31. Django forms (2) – using the ModelForm class

Django also provides a more straight-forward way to approach building forms against our models. We can actually just use the read more

November 17th, 2021 Posted in Advanced Web Development

30. Django forms (1)

30.01 Introduction We’re going to introduce forms in Django – a way to provide users a way to add entries read more

November 17th, 2021 Posted in Advanced Web Development

29. JavaScript basics

29.01 Introduction We can add any required Javascript in script tags in the header.html file. Some examples: We need to read more

November 10th, 2021 Posted in Advanced Web Development