gwu-libraries / inventory_old

A system for tracking location of digital items and progress in reformatting projects
MIT License
5 stars 1 forks source link

review protocol handling in URL generation of bag access locations #175

Closed dchud closed 11 years ago

dchud commented 11 years ago

review both in model code and in UI templates.

darshanrp commented 11 years ago

@dchud: If the machine url does not have the protocol in its url, should it assume 'https' by default?

dchud commented 11 years ago

I don't think we should assume anything. For template rendering, we can use the urlize filter to render as clickable links if it can be.

https://docs.djangoproject.com/en/dev/ref/templates/builtins/#urlize

Otherwise, it shouldn't be a problem for internal logic... unless I'm missing something?