Skip to content

Instantly share code, notes, and snippets.

@aballah-chamakh
Created November 16, 2019 05:43
Show Gist options
  • Select an option

  • Save aballah-chamakh/7c27bbc4604c9948b93db5e42dadf4c7 to your computer and use it in GitHub Desktop.

Select an option

Save aballah-chamakh/7c27bbc4604c9948b93db5e42dadf4c7 to your computer and use it in GitHub Desktop.
from django.db import models
class Inference(models.Model):
name = models.CharField(max_length=255)
result = models.CharField(max_length=255)
def __str__(self):
return '{name} => result : {result}'.format(name=self.name,result=self.result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment