Skip to content Skip to sidebar Skip to footer
Showing posts with the label Abstract

Foreignkey Field Related To Abstract Model In Django

I have this model: class BaseModel(models.Model): .... class Meta: abstract = True… Read more Foreignkey Field Related To Abstract Model In Django

No Error While Instantiating Abstract Class, Even Though Abstract Method Is Not Implemented

I was trying out the below python code: from abc import ABCMeta, abstractmethod class Bar: __… Read more No Error While Instantiating Abstract Class, Even Though Abstract Method Is Not Implemented