ungleich-learning-circle/sami/django/#django.org#

29 lines
1.3 KiB
Text
Raw Normal View History

*** Django #1: Introduction
**** Objective
- We will build a IPv6 ULA registry with Django in the
next lectures
**** Lecture content
- Create a new directory in your learning cirle repository named "django"
- Write down the answers to the following questions in django/django.org
- Research and answer the following questions: (1/2 of the time)
- What is IPv6 ULA?
- addresses that are only ment to be used in privte segment.
- unique Local address they can be easly identified by FD00::/8
- equivllent to privte address in v4
- Which registries did exist historically?
- How should an IPv6 ULA registry work?
- Get started with Django
- Create a new python virtual env using `python3 -m venv`
- Create the venv in django/venv
- Create a file .gitignore in django/
- Add 'venv/' (without the quotes to that file
- Use magit to verify that the venv is being ignored
- Add and commit the .gitignore file
- Inside this virtual env, install django using `pip`
- Go to https://www.djangoproject.com/
- Finish tutorial 1: https://docs.djangoproject.com/en/3.0/intro/tutorial01/
- Commit the django code to your repository
- Exclude '*.pyc' in the .gitignore
- Also exclude the sqlite database