Start a shell session
python manage.py shell
Access data from the project
from learning_logs.models import Topic Topic.objects.all() topic = Topic.objects.get(id=1) topic.text 'Chess'
Start a shell session
python manage.py shell
Access data from the project
from learning_logs.models import Topic Topic.objects.all() topic = Topic.objects.get(id=1) topic.text 'Chess'