char0n / django-brevisurl

Django app for shortening urls
Other
9 stars 10 forks source link

Configurable token length #1

Closed char0n closed 12 years ago

char0n commented 12 years ago

On local backend, there should be possibility to influence token size in django settings.

umazalakain commented 12 years ago

There should be also the possibility to have a variable length in range(0, 200)

char0n commented 12 years ago

Implemented. Currently only constrain for token length is length of URLField for shortened_url. Also it is up to user to configure LOCAL_BACKEND_URL_PATTERN to match variable token length in django settings.