env reader

This commit is contained in:
fjrodriguez
2022-12-14 12:44:10 -06:00
parent 7bea944972
commit 09d7edddd6
5 changed files with 96 additions and 40 deletions

View File

@@ -72,5 +72,17 @@ class Clientes(models.Model):
year = today.year
return Timbres.objects.filter(rfcc=self.RFC, created_at__year=str(year),created_at__month=str(month)).count()
class Meta:
ordering = ('-Activo','-conteo_mes','RFC')
ordering = ('-Activo','-conteo_mes','RFC')
class Maquinas_Conectadas(models.Model):
UserName = models.CharField(max_length=255)
PC_Name = models.CharField(max_length=255)
Is64 = models.BooleanField()
OSversion= models.CharField(max_length=255)
local_ip = models.CharField(max_length=55)
public_ip= models.CharField(max_length=55)
RFC = models.CharField(max_length=13)
class Meta:
abstract =True