CRUD with Django and Ajax

In this post we will learn to CRUD with Django and Ajax. Ajax will help to submit the Django forms without the page being refreshed. We will also learn to display, edit and delete content with refreshing the page.

Online Shop With Django Part II

We will build a shopping cart. We will create a class for cart. We will build additional features so that user can add several quantities of different items to the cart. User can update quantities to cart or remove the item completely. We will also use a context processor to show total items in our cart and their total cost.

Online Shop With Django Part I

We will learn how to create a web application for online shopping.
In this first part we will do basic installation. Then create models for product and catalog. Then register the models to admin site. After the we will build views and templates. At the end of this part we will add css.

Blog for Poems in Django Part III

In this blog post, we will learn how to create tags for a post using django-taggit. Then we will learn to retrieve posts by similarity.We will also learn to generate latest posts and most commented posts. At the end we will learn to use markdown in Django.

Blog for Poems in Django Part II

In this post we will learn to get the url of the page using reverse(). Then we will also look at how to create customized urls according to the date and slug of the post. After that we will learn to add pagination and use the class based views. Finally, we will create a comment system, so that one can post the comments and see previous comments.

Django Image Processing Webapp Part III

In this part, we finally create three modules for image processing. We also add method to handle all the image processing functions for our ImangEnhance class. Finally, we process our images according to the filter (process) selected by the user.

Django Image Processing Webapp Part II

In part I, we had only two options: Rotate and Transpose. In second part, we will add two drop down lists and other options so that the user can choose between many filters to process the image. Table of Contents List of Filters We have three types of filters. Within Basic we want user to choose between following options. For […]

Django Image Processing Webapp

We are going to build an Django Image Processing Webapp. Here user can upload an image and apply several filters to the image.

In the first part we will learn, how to create a model for image. Then we will create a form to upload an image based on the model created. We will add two functionalities: Rotate and Transpose.