Skip to content
Learn Netverks

Lesson

Step 5/36 14% through track

playground-workflow

Playground workflow

Last reviewed Jun 1, 2026 Content v20260601
Track mode
server_script
Means
Server runner
Reading
~2 min
Level
beginner

This lesson

This lesson teaches Playground workflow: the syntax, APIs, and habits you need before advancing in Django.

Teams ship Playground workflow on every Django codebase—skipping it leaves gaps in debugging and code reviews.

You will apply Playground workflow in contexts like: SaaS dashboards, CMS-style products, internal tools, and APIs paired with React or mobile clients.

Write Python 3 in the editor and click Run on server—the dev runner executes your script; Django framework lessons also use local startproject for full MVT (LEARNING_RUNNER_ENABLED=true). Also use print() in the playground; install Django locally when lessons show manage.py commands.

At the start of the track—complete before lessons that assume you understand the server playground.

Build reliable habits in the Python playground—the same debugging loop transfers to local Django with python manage.py runserver and your IDE.

Recommended workflow

  1. Read the concept section before editing code.
  2. Click Run to execute Python on the dev runner.
  3. Use print() for values; use dicts and classes to simulate Django patterns.
  4. Change one idea at a time—one queryset filter, one URL pattern, one model field.
  5. When lessons show manage.py commands, run them locally after pip install django.
  6. Reset the editor if you drift far from the lesson goal.

What the runner can and cannot do

  • Can — Python 3 syntax, classes, dicts/lists, simulated ORM/queryset logic
  • Conceptualsettings.py, migrations, templates, admin, full HTTP cycle
  • Needs local setup — real Django project, PostgreSQL, runserver, static file serving in production

Review HTML forms if GET vs POST feels fuzzy—Django views read the same request data.

Self-check

  1. Why does this track simulate ORM in plain Python?
  2. When should you install Django on your machine?

Challenge

First run

  1. Click Run with the default code.
  2. Confirm the Python version prints in the output.
  3. Add a second print() with a custom message.

Done when: the terminal shows the Python version and your custom message.

Interview tip Lesson completion confidence

Can you explain this lesson in 30 seconds without reading notes?

Not saved yet.

Playground

Runs on the configured server runner (dev: npm run runner with LEARNING_RUNNER_ENABLED=true). Output appears below the editor.

Check yourself

Multiple choice — immediate feedback.

Discussion

Past discussion is visible to everyone. Only logged-in users can post comments and replies.

Starter discussion topics

  • print vs Django shell?
  • Runner vs local project?

Sign up or log in to post comments and sync lesson progress across devices.

No discussion yet. Be the first to ask a question.

Jump