fixed issue

This commit is contained in:
MassiveAtoms 2020-05-26 11:14:38 -03:00
parent 3d05b3f994
commit f224f1e35b
3 changed files with 18 additions and 2 deletions

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'n2h_6t5qnp8zvke(%a%ph)xj4h8w+kgg46pld0r2^ndcme3el6'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False DEBUG = False
ALLOWED_HOSTS = ["10.10.0.217"] ALLOWED_HOSTS = ["10.10.0.217", "localhost"]
# Application definition # Application definition
@ -119,4 +119,5 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.0/howto/static-files/ # https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = "/staticfiles/" STATIC_ROOT = "/static/"

View File

@ -8,6 +8,21 @@
<!-- Add additional CSS in static file --> <!-- Add additional CSS in static file -->
{% load static %} {% load static %}
<link rel="stylesheet" href="{% static 'css/styles.css' %}"> <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> </head>
<body> <body>
<div class="container-fluid"> <div class="container-fluid">