Last active
April 4, 2019 16:48
-
-
Save techbrownbags/0b08b6ff42698558edd6e512c44f78fe to your computer and use it in GitHub Desktop.
django ajax search
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
class System(models.Model): | |
system_id = models.IntegerField(primary_key=True) | |
name = models.CharField(max_length=200) | |
comments = models.TextField() | |
# ASSOCIATIONS | |
site = models.ForeignKey(Site, | |
on_delete=models.SET_NULL, | |
null=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment