Introduction

If you have several social media accounts, such as Google, Twitter, Facebook, and GitHub, and would prefer to use one of these accounts to log into websites that support third-party logins, you should read this article. …

Deploying Django on AWS and Bitnami by Merilyn Chesler

I recently attempted to deploy my Django projects on Amazon Lightsail and took notes for myself on the issues that came up for me. For starters, the AWS documentation for deploying a plain Django app without any database can be found here.

On the AWS console, we will find many…

It’s common in most websites to allow visitors to interact with them through an HTML Form. To distinguish a human visitor from a machine or bot, a captcha challenge is typically included in the form as well. Some of these forms facilitate communication between a visitor and the website. Submitting…

Multiple Forms in a Template Webpage

Django provides a simple-to-code solution to edit your model in an HTML form if you use its class-based generic editing view such as UpdateView. You can see a sample implementation of this in my article, Editing A Single Model Instance with UpdateView. However, in the real world, a complex application…

In my last article, Leveraging OO in Models and Views, I described how we can maximize object-oriented programming techniques in implementing custom behavior in our Django models to hide model-specific QuerySet API and to take advantage of Django’s class-based generic views, such as DetailView to reuse code and minimize development…

There are many HTTP status codes that can be returned from a web server; one of them is the infamous 404 Not found error code. This error is raised when a particular page cannot be located on the website. …

Django App Model-View-Template

In my previous article on Model Relationships, I described how Django implements one-to-one, one-to-many and many-to-many model relationships using the OneToOneField, ForeignKey and ManyToManyField. Today I'm going to document how to leverage the power of object-oriented programming when writing Django models and views.

In a Django app that plans an…

This article assumes a readership who is familiar with Python, Django and database schema design. Django explains its architecture as following an MTV (Model-Template-View) paradigm where model is the central component that encapsulates data and behavior for a web application, view is the mechanism that defines what data is to…

Merilyn Chesler

A generalist with Software Engineering, writing, teaching and entrepreneurial experience. Current interests: Django and MongoDB. bit.ly/merilynchesler

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store