Re: Function-based Views vs Class-based Views

2023-03-06 Thread Carsten Fuchs
I would like to recommend this excellent guide by Luke Plant: https://spookylukey.github.io/django-views-the-right-way/ Best regards, Carsten Am 06.03.23 um 21:19 schrieb Michael Starr: > What are the pros and cons of either method of rendering HTTP request > responses? > > https://ww

Re: Function-based Views vs Class-based Views

2023-03-06 Thread Prosper Lekia
Using classes is always a good way of promoting code usability, and inheritance. With class base views you don't need to reinvent the wheel. You can access other Django classes and methods and reduce code complexity. Although most codes are encapsulated, but you can always go back to the Djang

Backend In Web Programming | PHP, Laravel, ASP.NET, Django

2023-03-06 Thread PATRICK OFOSU AGYEMANG
Hi everyone, currently looking for a remote challenging opportunity for my next career. Kindly find attached my CV. Let me know if any help comes up. Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an

Function-based Views vs Class-based Views

2023-03-06 Thread Michael Starr
What are the pros and cons of either method of rendering HTTP request responses? https://www.geeksforgeeks.org/class-based-vs-function-based-views-which-one-is-better-to-use-in-django/ In the article above it states that CBVs are DRYer, but I don't understand why. The article doesn't explain, i

Re: Path Not Found Error

2023-03-06 Thread John McClain
Go to openai.com create an account (it's free) Copy and paste this prompt Pretend you are an expert python django developer. Pretend you have been writing python django code for over 10 years. With your expert knowledge writing python code please please debug this [put your manage.py code here] n

Migrating from ManyToOne (ForeignKey) into OneToOne in django codebase

2023-03-06 Thread Ngoc Dung Hoang
Hello everyone, I'm working on the system with 2 very big tables (billion of records) that is having ManyToOne relationship with other. The size of these tables are nearly the same. Lets say I have table child and parent. Each of the parent can have multiple child (children) records. The chil

Re: Django Guide

2023-03-06 Thread Sumangala S N
Hello any tell which documents good for django rest Framework using polls app create crud operations On Mon, 6 Mar 2023, 07:35 Sandip Bhattacharya, wrote: > There is a good guide here as well: > https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django > > > - Sandip > > On Mar 5, 202

Re: Django Guide

2023-03-06 Thread Muneeb Mughal
Follow this for best step by step https://www.py4e.com/ https://www.dj4e.com/ On Sun, Mar 5, 2023 at 8:59 PM Abdullah Niaz wrote: > Hello, My Name is Abdullah. I am pursuing my computer science degree & I > am in the second semester. I learned Python At my school. Now, I want to > learn Django.

Re: Django Guide

2023-03-06 Thread Chelsea Fan
Hello Abdullah, watch videos Denis Ivy in youtube On Sun, Mar 5, 2023 at 8:58 PM Abdullah Niaz wrote: > Hello, My Name is Abdullah. I am pursuing my computer science degree & I > am in the second semester. I learned Python At my school. Now, I want to > learn Django. Can Anyone guide me > > -- >