Skip to content

Commit

Permalink
Merge pull request #908 from ubyssey/version-0.5.27
Browse files Browse the repository at this point in the history
Version 0.5.27
  • Loading branch information
Rowansdabomb authored Jan 12, 2019
2 parents f3f15c7 + aaabef7 commit a7a3b96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dispatch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.5.23'
__version__ = '0.5.27'

4 changes: 2 additions & 2 deletions dispatch/modules/podcasts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def __init__(self, *args, **kwargs):

file = FileField(upload_to='podcasts/')

def get_file_url(self):
return "%s%s" % (settings.MEDIA_URL, self.file)
def get_absolute_url(self):
return self.file.url

def save(self, **kwargs):
is_new = self._state.adding is True
Expand Down
2 changes: 1 addition & 1 deletion dispatch/static/manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dispatch",
"version": "0.5.23",
"version": "0.5.27",
"description": "The frontend framework for the Dispatch publishing platform.",
"author": "Peter Siemens <[email protected]>",
"homepage": "https://www.ubyssey.ca",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='dispatch',
version='0.5.23',
version='0.5.27',
description='A publishing platform for modern newspapers',
url='https://github.com/ubyssey/dispatch',
author='Peter Siemens',
Expand Down

0 comments on commit a7a3b96

Please sign in to comment.