Showing
2 changed files
with
20 additions
and
2 deletions
1 | +# Generated by Django 4.1.9 on 2023-09-18 15:06 | ||
2 | + | ||
3 | +from django.db import migrations, models | ||
4 | + | ||
5 | + | ||
6 | +class Migration(migrations.Migration): | ||
7 | + | ||
8 | + dependencies = [ | ||
9 | + ('edicto', '0016_remove_edicto_id_alter_edicto_uuid'), | ||
10 | + ] | ||
11 | + | ||
12 | + operations = [ | ||
13 | + migrations.AlterField( | ||
14 | + model_name='edicto', | ||
15 | + name='fecha_modificacion', | ||
16 | + field=models.DateTimeField(auto_now=True), | ||
17 | + ), | ||
18 | + ] |
@@ -36,8 +36,8 @@ class Edicto(models.Model): | @@ -36,8 +36,8 @@ class Edicto(models.Model): | ||
36 | cantidad_copias = models.PositiveIntegerField(blank=False, null=False) | 36 | cantidad_copias = models.PositiveIntegerField(blank=False, null=False) |
37 | fecha_publicacion = models.DateField(blank=True, null=True) | 37 | fecha_publicacion = models.DateField(blank=True, null=True) |
38 | observaciones = models.CharField(max_length=500, blank=True, null=True) | 38 | observaciones = models.CharField(max_length=500, blank=True, null=True) |
39 | - fecha_creacion = models.DateField(auto_now=True, editable=False) | ||
40 | - fecha_modificacion = models.DateTimeField(auto_now_add=True, editable=False) | 39 | + fecha_creacion = models.DateField(auto_now_add=True, editable=False) |
40 | + fecha_modificacion = models.DateTimeField(auto_now=True, editable=False) | ||
41 | usuario_movimiento = models.ForeignKey(Usuario, on_delete=models.CASCADE, related_name='udate_edicto') | 41 | usuario_movimiento = models.ForeignKey(Usuario, on_delete=models.CASCADE, related_name='udate_edicto') |
42 | 42 | ||
43 | class Meta: | 43 | class Meta: |
-
Please register or login to post a comment