Skip to content

Commit

Permalink
Little fix manual form
Browse files Browse the repository at this point in the history
  • Loading branch information
mamashin committed Mar 21, 2024
1 parent 27407ab commit 23d667c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/qr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def validate_znesek(value):
params={'value': value},
)


# DB Model for Telegram users
class UpnModel(TimestampedModel):
ime_placnika = models.CharField(max_length=33, blank=True)
Expand All @@ -59,7 +60,7 @@ class UpnModel(TimestampedModel):
md5 = models.CharField(max_length=32, blank=False, null=False, unique=True)
rnd = models.CharField(max_length=6, blank=False, null=False, unique=True, default=rnd)
data_type = models.CharField(choices=[('qr', 'UPN QR'), ('qr_edit', 'UPN edit'), ('form', 'Form')],
default='qr', max_length=10)
default='qr', max_length=10, verbose_name='')

class Meta:
verbose_name = 'UPN QR'
Expand Down

0 comments on commit 23d667c

Please sign in to comment.