fixed issue
This commit is contained in:
parent
3d05b3f994
commit
f224f1e35b
Binary file not shown.
@ -25,7 +25,7 @@ SECRET_KEY = 'n2h_6t5qnp8zvke(%a%ph)xj4h8w+kgg46pld0r2^ndcme3el6'
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = ["10.10.0.217"]
|
||||
ALLOWED_HOSTS = ["10.10.0.217", "localhost"]
|
||||
|
||||
|
||||
# Application definition
|
||||
@ -119,4 +119,5 @@ USE_TZ = True
|
||||
# https://docs.djangoproject.com/en/3.0/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = "/staticfiles/"
|
||||
STATIC_ROOT = "/static/"
|
||||
|
||||
|
@ -8,6 +8,21 @@
|
||||
<!-- Add additional CSS in static file -->
|
||||
{% load static %}
|
||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||
<style>
|
||||
table,
|
||||
th,
|
||||
td {
|
||||
border: 1px solid black;
|
||||
border-collapse: collapse;
|
||||
padding: 0.5em;
|
||||
|
||||
}
|
||||
|
||||
td:nth-child(3),
|
||||
td:nth-child(2) {
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
|
Loading…
Reference in New Issue
Block a user