anpassung_botgard
Differences
This shows you the differences between two versions of the page.
| anpassung_botgard [2025/03/14 22:42] – created ninin | anpassung_botgard [2025/03/31 21:18] (current) – [Nützliches] ninin | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| Datenbankänderungen: | Datenbankänderungen: | ||
| - | | + | Change your models (in models.py). |
| - | | + | python manage.py makemigrations |
| + | |||
| + | to create migrations for those changes | ||
| + | |||
| + | python manage.py migrate | ||
| + | |||
| + | to apply those changes to the database. | ||
| - | Run python manage.py migrate to apply those changes to the database. | ||
| Server starten: | Server starten: | ||
| - | python3 manage.py run_server | + | |
| + | |||
| + | Wörterbuch neu generieren / compilieren: | ||
| + | |||
| + | django-admin makemessages -l de | ||
| + | django-admin compilemessages | ||
anpassung_botgard.txt · Last modified: by ninin
