From f91762d4cd344e7a6c6122f31e7044e280980c90 Mon Sep 17 00:00:00 2001 From: Garret Wassermann Date: Thu, 28 Dec 2017 06:32:42 -0500 Subject: [PATCH] Bump version to 0.2.5, add STATIC_ROOT to demo config to test collectstatic --- demo/demodesk/config/settings.py | 2 ++ demo/setup.py | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/demo/demodesk/config/settings.py b/demo/demodesk/config/settings.py index 19425f0a..256f1f15 100644 --- a/demo/demodesk/config/settings.py +++ b/demo/demodesk/config/settings.py @@ -194,6 +194,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/1.11/howto/static-files/ STATIC_URL = '/static/' +# static root needs to be defined in order to use collectstatic +STATIC_ROOT = os.path.join(BASE_DIR, 'static') # MEDIA_ROOT is where media uploads are stored. # We set this to a directory to host file attachments created diff --git a/demo/setup.py b/demo/setup.py index 998c5e69..2cfdd613 100644 --- a/demo/setup.py +++ b/demo/setup.py @@ -13,7 +13,7 @@ project_root = os.path.dirname(here) NAME = 'django-helpdesk-demodesk' DESCRIPTION = 'A demo Django project using django-helpdesk' README = open(os.path.join(here, 'README.rst')).read() -VERSION = '0.2.3' +VERSION = '0.2.5' #VERSION = open(os.path.join(project_root, 'VERSION')).read().strip() AUTHOR = 'django-helpdesk team' URL = 'https://github.com/django-helpdesk/django-helpdesk' diff --git a/setup.py b/setup.py index afb7cacb..7a8923c4 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ from distutils.util import convert_path from fnmatch import fnmatchcase from setuptools import setup, find_packages -version = '0.2.4' +version = '0.2.5' # Provided as an attribute, so you can append to these instead # of replicating them: