diff --git a/gestaoRaul/comandas/templates/comandas.html b/gestaoRaul/comandas/templates/comandas.html index 3c71c9b..7b3e95e 100644 --- a/gestaoRaul/comandas/templates/comandas.html +++ b/gestaoRaul/comandas/templates/comandas.html @@ -13,24 +13,24 @@ Comandas {% block 'body' %} -
- + +
{% for comanda in comandas %} - + {% endfor %}
- + + diff --git a/gestaoRaul/db.sqlite3 b/gestaoRaul/db.sqlite3 index 71e1226..dd1af23 100644 Binary files a/gestaoRaul/db.sqlite3 and b/gestaoRaul/db.sqlite3 differ diff --git a/gestaoRaul/gestaoRaul/__pycache__/settings.cpython-310.pyc b/gestaoRaul/gestaoRaul/__pycache__/settings.cpython-310.pyc index 9887b0d..8f54d6a 100644 Binary files a/gestaoRaul/gestaoRaul/__pycache__/settings.cpython-310.pyc and b/gestaoRaul/gestaoRaul/__pycache__/settings.cpython-310.pyc differ diff --git a/gestaoRaul/gestaoRaul/settings.py b/gestaoRaul/gestaoRaul/settings.py index 9049ff3..92ebb30 100644 --- a/gestaoRaul/gestaoRaul/settings.py +++ b/gestaoRaul/gestaoRaul/settings.py @@ -26,7 +26,14 @@ SECRET_KEY = 'django-insecure-mqcnrs5!hc6bj$�@@9d8^2@x#w&$qhk3vlr5_)3znd9h6&d8 # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [ + '192.168.0.100', + 'http://192.168.0.100', + 'https://192.168.0.100', + '192.168.0.100/24', + 'localhost', + '127.0.0.1', + ] # Application definition diff --git a/gestaoRaul/products/templates/products.html b/gestaoRaul/products/templates/products.html index 5333000..c016142 100644 --- a/gestaoRaul/products/templates/products.html +++ b/gestaoRaul/products/templates/products.html @@ -19,8 +19,8 @@ Produtos
-
- +
+ {% for product in products %} @@ -41,7 +41,7 @@ Produtos
{% csrf_token %}

Cadastro de Produto

-
+