Add possiblity to share gallerie with public link
All checks were successful
Docker / build (release) Successful in 8s
All checks were successful
Docker / build (release) Successful in 8s
This commit is contained in:
parent
ed28d4a9c4
commit
2a409b54f7
12 changed files with 206 additions and 48 deletions
|
|
@ -174,6 +174,13 @@ class Gallery(models.Model):
|
|||
verbose_name=_("photos"),
|
||||
blank=True,
|
||||
)
|
||||
public_token = models.UUIDField(
|
||||
_("public token"),
|
||||
null=True,
|
||||
blank=True,
|
||||
unique=True,
|
||||
default=None,
|
||||
)
|
||||
|
||||
class Meta:
|
||||
ordering = ["-date_start"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue