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-22 11:25:01 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6c7983fbba8d22def1c1d296372f9ee740de11e8
6c7983fb
1 parent
be314603
configuracion del migrate initial
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
project/apps/edicto/migrations/0001_initial.py
project/apps/edicto/models.py
project/apps/edicto/migrations/0001_initial.py
View file @
6c7983f
...
...
@@ -63,7 +63,6 @@ class Migration(migrations.Migration):
models
.
UUIDField
(
default
=
uuid
.
uuid4
,
editable
=
False
,
primary_key
=
True
,
serialize
=
False
,
unique
=
True
,
),
...
...
project/apps/edicto/models.py
View file @
6c7983f
...
...
@@ -31,7 +31,7 @@ class Edicto(models.Model):
verbose_name
=
'Edicto'
verbose_name_plural
=
'Edictos'
uuid
=
models
.
UUIDField
(
unique
=
True
,
editable
=
False
,
default
=
uuid4
,
primary_key
=
True
)
uuid
=
models
.
UUIDField
(
unique
=
True
,
editable
=
False
,
default
=
uuid4
)
cuerpo_edicto
=
models
.
TextField
(
blank
=
False
)
archivo
=
models
.
FileField
(
upload_to
=
"uploads/
%
Y/
%
m/
%
d/"
)
dias_publicar
=
models
.
PositiveIntegerField
()
...
...
Please
register
or
login
to post a comment