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.master
parent
cf490e7918
commit
5e307d687b
|
|
@ -1,14 +1,14 @@
|
||||||
VERSION = (1, 7, 0) # following PEP 386
|
VERSION = (1, 7, 1) # following PEP 386
|
||||||
DEV_N = None
|
DEV_N = None
|
||||||
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
version = '{0}.{1}'.format(VERSION[0], VERSION[1])
|
version = '{}.{}'.format(VERSION[0], VERSION[1])
|
||||||
if VERSION[2]:
|
if VERSION[2]:
|
||||||
version = '{0}.{1}'.format(version, VERSION[2])
|
version = '{}.{}'.format(version, VERSION[2])
|
||||||
try:
|
try:
|
||||||
if VERSION[3]:
|
if VERSION[3]:
|
||||||
version = '{0}.{1}'.format(version, VERSION[3])
|
version = '{}.{}'.format(version, VERSION[3])
|
||||||
except IndexError:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
return version
|
return version
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{% load i18n admin_modify adminsortable_tags %}
|
{% load i18n admin_modify adminsortable_tags %}
|
||||||
{% load static from staticfiles %}
|
{% 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>
|
<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.management_form }}
|
||||||
{{ inline_admin_formset.formset.non_form_errors }}
|
{{ inline_admin_formset.formset.non_form_errors }}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -2,7 +2,8 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
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__))))
|
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,6 @@ STATICFILES_DIRS = (
|
||||||
STATICFILES_FINDERS = (
|
STATICFILES_FINDERS = (
|
||||||
'django.contrib.staticfiles.finders.FileSystemFinder',
|
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||||
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Make this unique, and don't share it with anybody.
|
# 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 = (
|
TEMPLATE_LOADERS = (
|
||||||
'django.template.loaders.filesystem.Loader',
|
'django.template.loaders.filesystem.Loader',
|
||||||
'django.template.loaders.app_directories.Loader',
|
'django.template.loaders.app_directories.Loader',
|
||||||
# 'django.template.loaders.eggs.Loader',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = (
|
MIDDLEWARE_CLASSES = (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue