1.open your django project 2.open the terminal in pycharm, it is located at bottom left corner 3. in the terminal change the directory to the location where manage.py is located 4. type the following python3.7 manage.py shell
On Thu, 16 Aug 2018 at 10:20, Vikrant Gupta <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/django-users/b4837329-8c85-4b43-ae11-d8d3fa766dea%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAHfehoVY7e2GSUQ8xuFKWKWpkAHKBcCOKp8hq5b-5byNqNhqmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

