python

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

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 ?