diff --git a/adminsortable/__init__.py b/adminsortable/__init__.py old mode 100755 new mode 100644 index b0cbd0c..9ffee74 --- a/adminsortable/__init__.py +++ b/adminsortable/__init__.py @@ -1,14 +1,14 @@ -VERSION = (1, 7, 0) # following PEP 386 +VERSION = (1, 7, 1) # following PEP 386 DEV_N = None def get_version(): - version = '{0}.{1}'.format(VERSION[0], VERSION[1]) + version = '{}.{}'.format(VERSION[0], VERSION[1]) if VERSION[2]: - version = '{0}.{1}'.format(version, VERSION[2]) + version = '{}.{}'.format(version, VERSION[2]) try: if VERSION[3]: - version = '{0}.{1}'.format(version, VERSION[3]) + version = '{}.{}'.format(version, VERSION[3]) except IndexError: pass return version diff --git a/adminsortable/locale/pt_BR/LC_MESSAGES/django.mo b/adminsortable/locale/pt_BR/LC_MESSAGES/django.mo old mode 100755 new mode 100644 diff --git a/adminsortable/locale/pt_BR/LC_MESSAGES/django.po b/adminsortable/locale/pt_BR/LC_MESSAGES/django.po old mode 100755 new mode 100644 diff --git a/adminsortable/templates/adminsortable/edit_inline/stacked-1.5.x.html b/adminsortable/templates/adminsortable/edit_inline/stacked-1.5.x.html index bc7ce69..806dcb4 100644 --- a/adminsortable/templates/adminsortable/edit_inline/stacked-1.5.x.html +++ b/adminsortable/templates/adminsortable/edit_inline/stacked-1.5.x.html @@ -1,6 +1,6 @@ {% load i18n admin_modify adminsortable_tags %} {% load static from staticfiles %} -
+
TEST 2

{{ inline_admin_formset.opts.verbose_name_plural|title }} {% if inline_admin_formset.formset.initial_form_count > 1 %} - {% trans "drag and drop to change order" %}{% endif %}

{{ inline_admin_formset.formset.management_form }} {{ inline_admin_formset.formset.non_form_errors }} diff --git a/sample_project/database/test_project.sqlite b/sample_project/database/test_project.sqlite index f4affbc..825ceae 100644 Binary files a/sample_project/database/test_project.sqlite and b/sample_project/database/test_project.sqlite differ diff --git a/sample_project/manage.py b/sample_project/manage.py old mode 100755 new mode 100644 index 007cd0d..47f8156 --- a/sample_project/manage.py +++ b/sample_project/manage.py @@ -2,7 +2,8 @@ import os import sys -# Adds the adminsortable package from the cloned repository instead of site_packages +# Adds the adminsortable package from the cloned repository instead of +# site_packages sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) if __name__ == "__main__": diff --git a/sample_project/sample_project/settings.py b/sample_project/sample_project/settings.py old mode 100755 new mode 100644 index 9280511..3f07878 --- a/sample_project/sample_project/settings.py +++ b/sample_project/sample_project/settings.py @@ -80,7 +80,6 @@ STATICFILES_DIRS = ( STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', -# 'django.contrib.staticfiles.finders.DefaultStorageFinder', ) # Make this unique, and don't share it with anybody. @@ -90,7 +89,6 @@ SECRET_KEY = '8**a!c8$1x)p@j2pj0yq!*v+dzp24g*$918ws#x@k+gf%0%rct' TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', -# 'django.template.loaders.eggs.Loader', ) MIDDLEWARE_CLASSES = ( diff --git a/setup.py b/setup.py index 8312447..c1b68c0 100644 --- a/setup.py +++ b/setup.py @@ -18,11 +18,11 @@ setup( zip_safe=False, include_package_data=True, classifiers=['Development Status :: 5 - Production/Stable', - 'Environment :: Web Environment', - 'Framework :: Django', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: Apache Software License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Topic :: Utilities'], + 'Environment :: Web Environment', + 'Framework :: Django', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: Apache Software License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Utilities'], )