Loading
Martin Eigenmann
This is a live streamed presentation. You will automatically follow the presenter and see the slide they're currently on.
21.07.2020
Martin Eigenmann
15y in love with computers
python + typescript
working @HSG
{{user.name}}
{{user.experience}}
{{user.languages}}
{{user.goals}}
Python
Programming
Django
Todo-App
Login with your github account and create a "New repl" with python as programming language
Start generating some art. Press "start" to run your program.
Dependencies are managed with pip, pipenv, poetry, ...
You can install python on your computer if you like (https://www.python.org/downloads/)
We are using replit.com for this workshop to not lose time.
python uses white spaces or tabs to group blocks of code (indentation)
Model Template View maps to Model View Controller
Apps represent a discrete part of a larger project. (plugable)
Django uses Migrations to maintain DB schema
For the repository
Create a new repl
Start application
run python manage.py migrate
run python manage.py createsuperuser
run python manage.py startapp todos
add models and then
run python manage.py makemigrations
python manage.py migrate
Follow Readme
You can access the api now with postman
Django Project Documentation - https://docs.djangoproject.com/en/3.2/
Full Stack Python - https://www.fullstackpython.com/django.html
Debug Toolbar - https://django-debug-toolbar.readthedocs.io/en/latest/installation.html
Django REST Framework - https://github.com/encode/django-rest-framework
Django Crispy Forms - https://github.com/django-crispy-forms/django-crispy-forms
Python Social Auth - https://github.com/python-social-auth/social-app-django
Django FeinCMS - https://feincms3.readthedocs.io/en/latest/
Django Push Notifications - https://github.com/jazzband/django-push-notifications