Version bump to 1.7.1.
Added Brazilian Portugese locale. Fixed minor css scoping issue that caused stacked template items that were sortable to not display the 'move' cusor type. Fixed comment line in manage.py for PEP8.
This commit is contained in:
Executable → Regular
+4
-4
@@ -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
|
||||
|
||||
Executable → Regular
Executable → Regular
@@ -1,6 +1,6 @@
|
||||
{% load i18n admin_modify adminsortable_tags %}
|
||||
{% load static from staticfiles %}
|
||||
<div class="inline-group" id="{{ inline_admin_formset.formset.prefix }}-group">
|
||||
<div class="inline-group" id="{{ inline_admin_formset.formset.prefix }}-group">TEST 2
|
||||
<h2>{{ 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 %}</h2>
|
||||
{{ inline_admin_formset.formset.management_form }}
|
||||
{{ inline_admin_formset.formset.non_form_errors }}
|
||||
|
||||
Binary file not shown.
Executable → Regular
+2
-1
@@ -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__":
|
||||
|
||||
Executable → Regular
-2
@@ -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 = (
|
||||
|
||||
@@ -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'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user