Is it possible to use Class-Based Views with Function-Based Views together in django project? If yes, Is that best practice ? Can I use them together in the same views.py
CodePudding user response:
Yes absolutely you can combine them. Class-based views are great for basic functionalities like crud operations. for more advanced operations you could override subclasses for class-based views but I think you would be better of using function based views for that, especially since its easier to understand for beginners.