├ /markup/ HTML • CSS • XML
├ /low_level/ Assembly • C • C++ • C# • Holy C • Rust
├ /high_level/ Java • Go • PHP • Python • SQL • Bash • JavaScript • PowerShell • ActionScript • Scratch • Ruby • Lua • P
└ /tutorials/ C • C++ • C# • Java • Rust
Topic ratings are back with the new {{Gradingbox}}. Please read the documentation for how to use it correctly before applying it to pages.
SNCA:Django

Django is a python library which is used to make web applications. websites such as Pinterest and Instagram are made using Django.
Setting up a Django project.[edit | edit source]
To set it up, you need to first have python installed on your computer. If you are on a mac, python comes pre installed.
Then, create a folder where you will put your project. The first thing after this is, to make a virtual environment. Simply switch to the directory of your folder in your terminal and type in:
python -m venv myworld
Once you've made your VE, you have to activate it. The point of a virtual environment is to have the packages that you need for your Django project separated from everything else on your computer. You can then activate the VE with this command:
Windows: myworld\Scripts\activate.bat
UNIX/macOS: source myworld/bin/activate
Once the virtual environment is set up, you have to install django:
pip install django
And then after all that, you have to make a Django project with the following command:
django-admin startproject project_name_goes_here
After this, you want to move the directory to the Django project (main_folder/django_project)
Creating a database.[edit | edit source]
The first thing to do after you have made your Django project is to make the database: without moving directory, type this in:
python manage.py migrate
This will create a database.
Viewing the project.[edit | edit source]
To view the actual project, type in python manage.py runserver
And then go to your local host, where you will see the default Django page.
Django is part of a series on
Computing

>I wrote my own fucking compiler I'm not a nigger like Linus
➜ /languages
➜ /software
├ /forums/ nusoi • Vichan • Yotsuba • OpenYotsuba • XenForo • jschan
├ /operating_systems/ Windows • Linux • Ubuntu • Linux Mint • Android • TempleOS • BSD
├ /applications/ Web Browser • Photoshop • Flash • MS Paint • IRC • GIMP • Paint.NET
├ /dev/ Free-software license • Game development • Vim
└ /misc/ Babybot • McChallenge • CAPTCHA • Systemd • RAID • Ricing • 4get • Snarkysnappydoxingtool.bat • JS Paint • Soyjak Party Enhanced • shimmie2 • MediaWiki • Email • django
➜ /cyb
➜ /misc
├ /file_formats/ GIF • MIDI • SVG • WEBM • WEBP
└ /hardware/ ThinkPad • Chromebooks • WiFi • Raspberry pi
➜ /ai
└ ChatGPT • Gemini • Grok • Vibe coding • Generative AI • Stable Diffusion