2👍
Add this to the settings.py
file:
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static'),]
0👍
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
putting this within the head tag, solved the problem for me.
👤snpd
- [Django]-Best option for Google App Engine Datastore and external database?
- [Django]-Get image full url on Django Channel Response
- [Django]-Create multiple Django model instances using for loop
- [Django]-OperationalError: (1054, "Unknown column 'time_table.id' in 'field list'")
Source:stackexchange.com