diff --git a/.gitignore b/.gitignore index a55744f251..627ee02307 100644 --- a/.gitignore +++ b/.gitignore @@ -7,10 +7,10 @@ *.pid *.prof *.pyc +*.pyo *~ *.sublime-* *.zip -build/ locale/ node_modules/ tmp/ @@ -44,4 +44,5 @@ writeup/ /TAGS .tags /kalite/i18n/static/ -ghostdriver.log \ No newline at end of file +ghostdriver.log +/kalite/_built.touch diff --git a/docs/DJANGO-CHANGES.txt b/docs/DJANGO-CHANGES.txt index 5daece9b11..6d6f127424 100644 --- a/docs/DJANGO-CHANGES.txt +++ b/docs/DJANGO-CHANGES.txt @@ -98,3 +98,14 @@ index 2b8e801..6349ed5 100644 + TestRunner = get_runner(settings, options.get('testrunner')) options['verbosity'] = int(options.get('verbosity')) + +We extend clean_pyc so it will be automatically skipped when built by the build process + def handle_noargs(self, **options): ++ from django.conf import settings ++ if settings.BUILT: ++ settings.LOG.info("Installation built by build process; skipping clean_pyc") ++ return ++ + project_root = options.get("path", None) + if not project_root: + project_root = get_project_root() diff --git a/kalite/control_panel/templates/control_panel/facility_management.html b/kalite/control_panel/templates/control_panel/facility_management.html index d987087efe..9fd3c3e741 100644 --- a/kalite/control_panel/templates/control_panel/facility_management.html +++ b/kalite/control_panel/templates/control_panel/facility_management.html @@ -31,12 +31,18 @@ altField: "#start_standard_date", altFormat: "yy-mm-dd", autoclose: true, + changeMonth: true, + changeYear: true, + showButtonPanel: true }); $('#end_date_select').datepicker({ dateFormat: "d MM yy", altField: "#end_standard_date", - altFormat: "yy-mm-dd" + altFormat: "yy-mm-dd", + changeMonth: true, + changeYear: true, + showButtonPanel: true }); }); diff --git a/kalite/control_panel/templates/control_panel/zone_management.html b/kalite/control_panel/templates/control_panel/zone_management.html index 0785dd555d..e0584919bc 100644 --- a/kalite/control_panel/templates/control_panel/zone_management.html +++ b/kalite/control_panel/templates/control_panel/zone_management.html @@ -164,8 +164,13 @@