Skip to content

track a current bitly link #24

@rafaelmagalhaes

Description

@rafaelmagalhaes

How can i track the current bitly link?
I get the following error when i use clicks

Failed secondary: {'errorCode': 500, 'errorMessage': 'ALREADY_A_BITLY_LINK', 'results': None, 'statusCode': ''}

I created a field called shorurl on modes.py

on the View i added
self.object.shorturl = Bittle.objects.bitlify(self.object.upload.url).shortUrl
on the html template i did {{ document.shorturl |clicks }}
but this gives me the error ALREADY_A_BITLY_LINK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions