Showing
3 changed files
with
1 additions
and
39 deletions
@@ -3,7 +3,7 @@ from django_filters.rest_framework import DjangoFilterBackend | @@ -3,7 +3,7 @@ from django_filters.rest_framework import DjangoFilterBackend | ||
3 | from rest_framework.response import Response | 3 | from rest_framework.response import Response |
4 | from rest_framework.permissions import IsAuthenticated | 4 | from rest_framework.permissions import IsAuthenticated |
5 | from rest_framework.decorators import action | 5 | from rest_framework.decorators import action |
6 | -from dango.utils import timezone | 6 | +from django.utils import timezone |
7 | 7 | ||
8 | from .models import Edicto, Precio | 8 | from .models import Edicto, Precio |
9 | from .serializer import EdictoSerializer, PrecioSerializer | 9 | from .serializer import EdictoSerializer, PrecioSerializer |
1 | -# Generated by Django 4.1.9 on 2023-09-13 20:08 | ||
2 | - | ||
3 | -from django.db import migrations, models | ||
4 | - | ||
5 | - | ||
6 | -class Migration(migrations.Migration): | ||
7 | - | ||
8 | - dependencies = [ | ||
9 | - ('edicto', '0015_edicto_usuario_movi'), | ||
10 | - ] | ||
11 | - | ||
12 | - operations = [ | ||
13 | - migrations.AlterField( | ||
14 | - model_name='edicto', | ||
15 | - name='fecha_modificacion', | ||
16 | - field=models.DateTimeField(blank=True, default=None, null=True), | ||
17 | - ), | ||
18 | - ] |
1 | -# Generated by Django 4.1.9 on 2023-09-13 20:55 | ||
2 | - | ||
3 | -from django.db import migrations, models | ||
4 | -import django.utils.timezone | ||
5 | - | ||
6 | - | ||
7 | -class Migration(migrations.Migration): | ||
8 | - | ||
9 | - dependencies = [ | ||
10 | - ('edicto', '0016_alter_edicto_fecha_modificacion'), | ||
11 | - ] | ||
12 | - | ||
13 | - operations = [ | ||
14 | - migrations.AlterField( | ||
15 | - model_name='edicto', | ||
16 | - name='fecha_modificacion', | ||
17 | - field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now), | ||
18 | - preserve_default=False, | ||
19 | - ), | ||
20 | - ] |
-
Please register or login to post a comment