Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a redirect view #7

Closed
ghickman opened this issue Apr 30, 2013 · 1 comment
Closed

Add a redirect view #7

ghickman opened this issue Apr 30, 2013 · 1 comment

Comments

@ghickman
Copy link

Very similar to the DetailView but instead of returning the CrocoDoc url redirect to it.

Might be easier to use a common base class?

@mlen108
Copy link
Owner

mlen108 commented Apr 30, 2013

Nice idea, however I'm going to skip it as djcroco will transform itself into model field so there will be no need for any views any longer. Simply field.document.url (where field is your instance of the new field) will return Crocodoc URL of the document. Anyway thanks for your input.

@mlen108 mlen108 closed this as completed Apr 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants