Created
February 6, 2013 17:16
-
-
Save groovecoder/4724138 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_file_url(self): | |
uri = reverse('wiki.raw_file', attachment_id=self.id, | |
filename=self.current_revision.filename()) | |
return uri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment