Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Marta Miranda
/
boletin_api
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Enzo Yair
2023-09-27 10:27:43 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6c9eb8bca8a95eb4b23189f8b805a12c0258f542
6c9eb8bc
1 parent
7eeca9ff
filtros modelo edicto
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
project/apps/edicto/migrations/0005_alter_comprobantepago_monto_alter_edicto_creado_por.py → project/apps/edicto/migrations/0005_alter_edicto_creado_por.py
project/apps/edicto/models.py
project/apps/edicto/migrations/0005_alter_
comprobantepago_monto_alter_
edicto_creado_por.py → project/apps/edicto/migrations/0005_alter_edicto_creado_por.py
View file @
6c9eb8b
# Generated by Django 4.1.9 on 2023-09-27 13:
06
# Generated by Django 4.1.9 on 2023-09-27 13:
27
from
django.conf
import
settings
from
django.db
import
migrations
,
models
...
...
@@ -14,11 +14,6 @@ class Migration(migrations.Migration):
operations
=
[
migrations
.
AlterField
(
model_name
=
'comprobantepago'
,
name
=
'monto'
,
field
=
models
.
FloatField
(
editable
=
False
,
null
=
True
),
),
migrations
.
AlterField
(
model_name
=
'edicto'
,
name
=
'creado_por'
,
field
=
models
.
ForeignKey
(
editable
=
False
,
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
to
=
settings
.
AUTH_USER_MODEL
),
...
...
project/apps/edicto/models.py
View file @
6c9eb8b
...
...
@@ -58,7 +58,7 @@ class ComprobantePago(models.Model):
verbose_name
=
'ComprobantePago'
verbose_name_plural
=
'ComprobantesPagos'
monto
=
models
.
FloatField
(
editable
=
False
,
null
=
True
)
monto
=
models
.
FloatField
()
numero_comprobante
=
models
.
CharField
(
max_length
=
300
,
blank
=
True
,
null
=
True
)
fecha_pago
=
models
.
DateTimeField
(
blank
=
True
,
null
=
True
)
edicto
=
models
.
OneToOneField
(
Edicto
,
on_delete
=
models
.
CASCADE
)
...
...
Please
register
or
login
to post a comment