Wiki
Home

Django

Models/DB

- Models aktivieren
  
  <https://docs.djangoproject.com/en/2.1/intro/tutorial02/#activating-models>
- Models migrieren:
  
  ```bash
  python manage.py makemigrations appname
  python manage.py sqlmigrate polls 0001 # view the SQL code
  python manape.py migrate
  ```

Misc

- Admin erstellen
  ```bash
  python manage.py createsuperuser
  ```
  
  <https://docs.djangoproject.com/en/2.1/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin>

Templating

Storage and S3