Guest User

Untitled

a guest
Jan 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. fruit = models.IntegerField(choices=FRUIT_CHOICES)
  2.  
  3. user_fruit = Fruit.objects.filter(id = fruit)
  4.  
  5. django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
Add Comment
Please, Sign In to add comment