char0n / django-brevisurl

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

Change in site or BREVISURL_BACKEND_LOCAL_DOMAIN #3

Open char0n opened 12 years ago

char0n commented 12 years ago

For local backend, it is required to know that current_site or BREVISURL_BACKEND_LOCAL_DOMAIN has changed. If so, new short url must be generated.

char0n commented 12 years ago

I guess this should be done via django command that will invalidate/remove all shortened urls that are no longer valid after BREVISURL_BACKEND_LOCAL_DOMAIN or current site change.