step3
1. adding user to the tweets update your models.py bu adding user column as from django . conf import settings User=settings.AUTH_USER_MODEL class Tweet ( models . Model ): user=models.ForeignKey(User,on_delete=models.CASCADE) content = models . TextField () image = models . ImageField ( upload_to = 'images/' , blank = True , null = True ) #null is not required in db blank is not req in django one user have many other things also but user will be the one 2. open shell and test for the filter from tweets.models import Tweet obj=Tweet.objects.filter(content="hello") obj (output:<QuerySet [<Tweet: Tweet object (71)>]>)i.e in 71st obj content is hello bj=Tweet.objects.filter(user=1) bj ...