Commit f1398e
2026-08-05 09:50:36 Niklas Polke: Create DJANGO Debug Toolbar| /dev/null .. python/django debug toolbar.md | |
| @@ 0,0 1,24 @@ | |
| + | # DJANGO Debug Toolbar |
| + | |
| + | ## Installation |
| + | |
| + | 1. Django Debug Toolbar installieren |
| + | `pip install django-debug-toolbar` |
| + | |
| + | 2. Settings.py für Development anpassen |
| + | ```python |
| + | INSTALLED_APPS += [ |
| + | "debug_toolbar", |
| + | ] |
| + | MIDDLEWARE = [ |
| + | "debug_toolbar.middleware.DebugToolbarMiddleware", |
| + | *MIDDLEWARE, |
| + | ] |
| + | INTERNAL_IPS = [ |
| + | "127.0.0.1", |
| + | "<ip of windows pc>", |
| + | ] |
| + | ``` |
| + | :::warning |
| + | Either config only if Debug=True or in special settings for development! |
| + | ::: |
