class ClassName(models.Model):
      Python language logo
      your recipe card header background

      Django Generic Model Class

      Django Public Recipes

      = models.ModelField()

      In this code, ClassName is a class that inherits from models.Model. Fields is a property that is defined in ClassName. Fields is a list of model fields that are inherited by ClassName.

      Library: django

      Shortcut: django.model.class


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.