Expand Nostr key field to 64 chars (32 hex bytes)
This commit is contained in:
parent
960e64963f
commit
d0bd6c1231
2 changed files with 34 additions and 2 deletions
|
|
@ -82,11 +82,11 @@ class User(ModelMeta, AbstractUser):
|
|||
)
|
||||
|
||||
nostr_key = models.CharField(
|
||||
max_length=32,
|
||||
max_length=64,
|
||||
unique=True,
|
||||
blank=True,
|
||||
null=True,
|
||||
help_text="A Nostr public key in 32-byte hex format",
|
||||
help_text="A Nostr public key in 32-byte hex format (64 characters)",
|
||||
)
|
||||
nostr_relays = models.JSONField(
|
||||
default=list,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue