Created
December 8, 2011 11:13
-
-
Save saketkc/1446738 to your computer and use it in GitHub Desktop.
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
from django.db import models | |
from django.forms import ModelForm | |
from django.contrib.auth.models import User | |
class ReportTypes(models.Model): | |
def __unicode__(self): | |
return self.report_name | |
report_name = models.CharField(max_length=100) | |
report_element_json_list = models.TextField(max_length=1000) | |
report_belongs_to_lab = models.ForeignKey(User) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment