Skip to content

Commit

Permalink
change field [Ref #5]
Browse files Browse the repository at this point in the history
  • Loading branch information
pisaacode committed Jan 26, 2021
1 parent 1dd75a0 commit 39956e9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions webpay/oneclick/migrations/0004_auto_20210126_1727.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.1 on 2021-01-26 20:27

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('oneclick', '0003_auto_20210126_1247'),
]

operations = [
migrations.AlterField(
model_name='webpayoneclickinscription',
name='id',
field=models.IntegerField(primary_key=True, serialize=False, verbose_name='id'),
),
migrations.AlterField(
model_name='webpayoneclickinscription',
name='user',
field=models.CharField(max_length=100, verbose_name='Username del usuario del comercio'),
),
]
4 changes: 2 additions & 2 deletions webpay/oneclick/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class WebpayOneClickInscription(models.Model):
"""
Modelo para guardar informacion de OneClick
"""
id = models.IntegerField('id')
id = models.IntegerField('id', primary_key=True)
user = models.CharField(
'Username del usuario del comercio', max_length=100, primary_key=True)
'Username del usuario del comercio', max_length=100)
token = models.CharField(
'Token proporcionado por Transbank', max_length=300, blank=True)
tbk_user = models.CharField(
Expand Down

0 comments on commit 39956e9

Please sign in to comment.