Skip to content

Instantly share code, notes, and snippets.

@specialcircumstances
Created September 27, 2016 19:38
Show Gist options
  • Save specialcircumstances/671863d896e8bccc5f003778a94143dc to your computer and use it in GitHub Desktop.
Save specialcircumstances/671863d896e8bccc5f003778a94143dc to your computer and use it in GitHub Desktop.
station commodities
class StationCommodity(models.Model):
# Buy Sell Don't bring?
commodity = models.ForeignKey(Commodity, models.CASCADE)
station = models.ForeignKey(Station, models.CASCADE)
imported = models.NullBooleanField(blank=True, null=True) # Y N ?
exported = models.NullBooleanField(blank=True, null=True) # Y N ?
prohibited = models.NullBooleanField(blank=True, null=True) # Y N ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment