Browse Source

Pequeños arreglos

politica
Celestino Rey 1 year ago
parent
commit
dca5f5243f
5 changed files with 4 additions and 5 deletions
  1. +1
    -1
      Finanzas/K8S/Makefile
  2. +1
    -1
      Finanzas/K8S/nginx-service.yaml
  3. +1
    -1
      Finanzas/finanzas/apuntes/forms.py
  4. +1
    -1
      Finanzas/finanzas/finanzas/settings.py
  5. +0
    -1
      RepostajesDj/vehiculos/vehiculos/settings.py

+ 1
- 1
Finanzas/K8S/Makefile View File

@ -1,7 +1,7 @@
export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
#export REGISTRY=registry.cube.local
export REGISTRY=registry.reymota.es
export IMG_VERSION = 0.3
export IMG_VERSION = 0.5
export IMG_NGINX_VERSION = 1.0
# limpia todo


+ 1
- 1
Finanzas/K8S/nginx-service.yaml View File

@ -13,7 +13,7 @@ spec:
ports:
- name: "1337"
port: 1337
nodePort: 30340
nodePort: 30344
targetPort: 80
selector:
io.kompose.service: nginx


+ 1
- 1
Finanzas/finanzas/apuntes/forms.py View File

@ -11,7 +11,7 @@ class CuentaForm(forms.ModelForm):
nombre = forms.CharField(
widget=forms.TextInput(attrs={'class': 'form-control'}))
saldo_inicial = forms.DecimalField(
widget=forms.TextInput(attrs={'class': 'form-control'}))
widget=forms.NumberInput(attrs={'class': 'form-control'}))
tipo = forms.ModelChoiceField(
queryset=Tipo.objects.all(),
widget=forms.Select(attrs={'class': 'form-control'}))


+ 1
- 1
Finanzas/finanzas/finanzas/settings.py View File

@ -27,7 +27,7 @@ SECRET_KEY = 'django-insecure-vu#zk4g8pj-qoov#8^i$&s8n_ipp2r3h+o$z1w(1%d=6+i@erm
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS").split(" ")
# Application definition


+ 0
- 1
RepostajesDj/vehiculos/vehiculos/settings.py View File

@ -25,7 +25,6 @@ SECRET_KEY = os.environ.get("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ["DEBUG"] == 'True'
print("DEBUG: ", DEBUG)
ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS").split(" ")


Loading…
Cancel
Save