I did according to documentation. but couldn't able to do it? It'll be 
better for me if you just give me an example of my uploaded code. Thank you!


On Wednesday, August 15, 2018 at 11:40:46 PM UTC+5:30, Mikhailo Keda wrote:
>
> Are you sure it has id = 1?
>
> check the documentation - 
> https://docs.djangoproject.com/en/2.1/ref/models/querysets/#django.db.models.query.QuerySet.get
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b4837329-8c85-4b43-ae11-d8d3fa766dea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to