---
title: "Discussion on \"Class and Function-Based Views\" | Hashnode"
description: "Discussion on \"Class and Function-Based Views\". Hello, everyone!👋 Welcome to yet another exciting article. Today we will be looking at the pros and cons of class-based views and function-based views in Django and when you should use them.\nIntroduction\nA view function, or view for short, is a pyth..."
url: "https://hashnode.com/posts/class-and-function-based-views/5fd344f5cd0355570faea75f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Class and Function-Based Views](https://logique.hashnode.dev/class-and-function-based-views?utm_source=hashnode&utm_medium=feed)

Hello, everyone!👋 Welcome to yet another exciting article. Today we will be looking at the pros and cons of class-based views and function-based views in Django and when you should use them. Introduction A view function, or view for short, is a pyth...

Dec 11, 2020 · 7 min read · logique.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#django](https://hashnode.com/tag/django)
-   [#codenewbies-1](https://hashnode.com/tag/codenewbies-1)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#writing-1](https://hashnode.com/tag/writing-1)

## Written by

[Ujah Emmanuel](https://hashnode.com/@itslogique)

@itslogique · Makurdi, Benue State Nigeria

  
[View profile](https://hashnode.com/@itslogique)

Software Developer | Technical writer | Open Sourer

Software developer &amp; Technical writer, Open Source enthusiast. On my blog, I write about Open Source and Things I'm learning everyday

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
