This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#---------------------------------------------------------------------------------------- | |
# model.py | |
#---------------------------------------------------------------------------------------- | |
from django.db import models | |
from numpy.random import random_sample | |
class CustomModel(models.Model): | |
# Put your fields here | |
def get_data(self): |