programming:django
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| programming:django [2019/03/22 15:19] – clemix | programming:django [2019/04/24 16:22] (current) – [Static files] clemix | ||
|---|---|---|---|
| Line 133: | Line 133: | ||
| </ | </ | ||
| + | Run this command to store static files in proper folder: | ||
| + | <code bash> | ||
| + | python manage.py collectstatic | ||
| + | </ | ||
| ==== django_tables2 ==== | ==== django_tables2 ==== | ||
| === Mixedin === | === Mixedin === | ||
| Line 153: | Line 157: | ||
| </ | </ | ||
| - | |||
| - | To make links of a value https:// | ||
| === Custom tables.Column === | === Custom tables.Column === | ||
| Line 177: | Line 179: | ||
| </ | </ | ||
| + | To make links of a value https:// | ||
| ==== Update database ==== | ==== Update database ==== | ||
| Change the model file accordingly. [[https:// | Change the model file accordingly. [[https:// | ||
| Line 183: | Line 186: | ||
| python manage.py migrate | python manage.py migrate | ||
| </ | </ | ||
| + | |||
| + | ==== Bootstrap ==== | ||
| + | https:// | ||
programming/django.1553264391.txt.gz · Last modified: by clemix
