Skip to content

Instantly share code, notes, and snippets.

@FlaviuSim
Created February 27, 2012 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlaviuSim/1927908 to your computer and use it in GitHub Desktop.
Save FlaviuSim/1927908 to your computer and use it in GitHub Desktop.
from django.db import models
class Drug(model.Model):
rxcui = models.IntegerField()
short_name = models.CharField(max_length=50)
is_brand = models.IntegerField(max_length=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment