django

Handling CORS in Django REST Framework

Handling CORS in Django REST Framework

In this tutorial we have seen how to enable CORS headers in your Django back-end using a custom CORS middleware or the django-cors-headers package

Adding the Django CSRF Protection to React Forms

Adding the Django CSRF Protection to React Forms

In this tutorial you'll see how you can handle the Django CSRF token in React when using the Axios client or the fetch API. We'll also see how you can add CSRF in forms rendered dynamically with React

Building Modern Django Web Applications with React and Django Rest Framework

Building Modern Django Web Applications with React and Django Rest Framework

In this tutorial we'll look at how to build a modern CRUD web application using Django and React. We'll use Django Rest Framework to build an example API, react-router-dom for routing the front-end app, Axios for making HTTP calls to the Rest API endpoints, Redux for managing the app's global state and finally Webpack to bundle the assets

Building Modern Web Apps with Python, Django Rest Framework and Angular 2+

Building Modern Web Apps with Python, Django Rest Framework and Angular 2+

In this tutorial we are going to learn how to get started building modern web applications with Python, Django and Django Rest Framework as the back-end stack and the new Google Framework, Angular 2+, to build JavaScript client side applications, as the front-end technology. We'll see how to integrate both frameworks in the development and the production environments and how to use the Angular HTTP module to make API calls or Ajax requests to our REST API back-end.

Building Django HTTP APIs with GraphQL and Graphene

Building Django HTTP APIs with GraphQL and Graphene

This tutorial will introduce you to GraphQL with Python, Django and Graphene. We'll see how to create a simple Django project to demonstrate how to build an API server based on GraphQL (instead of REST) then we'll see how to use graphiql_django, an interface for testing GraphQL queries and mutations before building your front-end application, to send GraphQL Queries (for getting data) and Mutations (for posting and updating data). In this part we'll be dealing with building the backend. In the next tutorials we will see how to use frameworks and libraries such as Angular and React to build a front-end application that consumes and updates our GraphQL server and advanced use cases such as user authentication, permissions and Relay

Building a CRUD Application with Django Rest Framework and Vue.js

Building a CRUD Application with Django Rest Framework and Vue.js

In this tutorial, you will learn how to use Django and Vue.js to build a modern CRUD (Create, read, update and delete operations are essential for the majority of web applications) web application. You'll also learn how to integrate Django Rest Framework with Vue.js and how to make HTTP calls using **vue-resource** (you can also use **Axios** or the browser's **fetch** API).

Easy ecommerce with Django framework

Easy ecommerce with Django framework

In this post we are going to talk about Ecommerce with Python and the Django framework and what are the available packages/frameworks to use for building your ecommerce website ,shop or platform in a reasonable time ?