mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Revert changes on some comments
This commit is contained in:
parent
8113c5cd61
commit
69ac5cd291
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,7 +1,7 @@
|
|||||||
# Server config forms
|
# Server config files
|
||||||
nginx_note.conf
|
nginx_note.conf
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL forms
|
# Byte-compiled / optimized / DLL files
|
||||||
dist
|
dist
|
||||||
build
|
build
|
||||||
__pycache__
|
__pycache__
|
||||||
|
@ -184,7 +184,7 @@ class InvoiceRenderView(LoginRequiredMixin, View):
|
|||||||
except IOError as e:
|
except IOError as e:
|
||||||
raise e
|
raise e
|
||||||
finally:
|
finally:
|
||||||
# Delete all temporary forms
|
# Delete all temporary files
|
||||||
shutil.rmtree(tmp_dir)
|
shutil.rmtree(tmp_dir)
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
@ -168,11 +168,11 @@ LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
|
|||||||
|
|
||||||
FIXTURE_DIRS = [os.path.join(BASE_DIR, "note_kfet/fixtures")]
|
FIXTURE_DIRS = [os.path.join(BASE_DIR, "note_kfet/fixtures")]
|
||||||
|
|
||||||
# Static forms (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/2.2/howto/static-files/
|
# https://docs.djangoproject.com/en/2.2/howto/static-files/
|
||||||
|
|
||||||
# Absolute path to the directory static forms should be collected to.
|
# Absolute path to the directory static files should be collected to.
|
||||||
# Don't put anything in this directory yourself; store your static forms
|
# Don't put anything in this directory yourself; store your static files
|
||||||
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
|
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
|
||||||
# Example: "/var/www/example.com/static/"
|
# Example: "/var/www/example.com/static/"
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, "static/")
|
STATIC_ROOT = os.path.join(BASE_DIR, "static/")
|
||||||
@ -181,7 +181,7 @@ STATIC_ROOT = os.path.join(BASE_DIR, "static/")
|
|||||||
STATICFILES_DIRS = []
|
STATICFILES_DIRS = []
|
||||||
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
||||||
DJANGO_TABLES2_TEMPLATE = 'django_tables2/bootstrap4.html'
|
DJANGO_TABLES2_TEMPLATE = 'django_tables2/bootstrap4.html'
|
||||||
# URL prefix for static forms.
|
# URL prefix for static files.
|
||||||
# Example: "http://example.com/static/", "http://static.example.com/"
|
# Example: "http://example.com/static/", "http://static.example.com/"
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
|
2
static/admin/js/vendor/jquery/jquery.js
vendored
2
static/admin/js/vendor/jquery/jquery.js
vendored
@ -10310,7 +10310,7 @@ jQuery.isNumeric = function( obj ) {
|
|||||||
|
|
||||||
|
|
||||||
// Register as a named AMD module, since jQuery can be concatenated with other
|
// Register as a named AMD module, since jQuery can be concatenated with other
|
||||||
// forms that may use define, but not via a proper concatenation script that
|
// files that may use define, but not via a proper concatenation script that
|
||||||
// understands anonymous AMD modules. A named AMD is safest and most robust
|
// understands anonymous AMD modules. A named AMD is safest and most robust
|
||||||
// way to register. Lowercase jquery is used because AMD module names are
|
// way to register. Lowercase jquery is used because AMD module names are
|
||||||
// derived from file names, and jQuery is normally delivered in a lowercase
|
// derived from file names, and jQuery is normally delivered in a lowercase
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
var S2 =
|
var S2 =
|
||||||
(function () {
|
(function () {
|
||||||
// Restore the Select2 AMD loader so it can be used
|
// Restore the Select2 AMD loader so it can be used
|
||||||
// Needed mostly in the language forms, where the loader is not inserted
|
// Needed mostly in the language files, where the loader is not inserted
|
||||||
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {
|
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {
|
||||||
var S2 = jQuery.fn.select2.amd;
|
var S2 = jQuery.fn.select2.amd;
|
||||||
}
|
}
|
||||||
@ -4774,7 +4774,7 @@ S2.define('select2/defaults',[
|
|||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
// The translation could not be loaded at all. Sometimes this is
|
// The translation could not be loaded at all. Sometimes this is
|
||||||
// because of a configuration problem, other times this can be
|
// because of a configuration problem, other times this can be
|
||||||
// because of how Select2 helps load all possible translation forms.
|
// because of how Select2 helps load all possible translation files.
|
||||||
if (options.debug && window.console && console.warn) {
|
if (options.debug && window.console && console.warn) {
|
||||||
console.warn(
|
console.warn(
|
||||||
'Select2: The language file for "' + name + '" could not be ' +
|
'Select2: The language file for "' + name + '" could not be ' +
|
||||||
@ -6428,7 +6428,7 @@ S2.define('jquery.select2',[
|
|||||||
|
|
||||||
// Hold the AMD module references on the jQuery function that was just loaded
|
// Hold the AMD module references on the jQuery function that was just loaded
|
||||||
// This allows Select2 to use the internal loader outside of this file, such
|
// This allows Select2 to use the internal loader outside of this file, such
|
||||||
// as in the language forms.
|
// as in the language files.
|
||||||
jQuery.fn.select2.amd = S2;
|
jQuery.fn.select2.amd = S2;
|
||||||
|
|
||||||
// Return the Select2 instance for anyone who is importing it.
|
// Return the Select2 instance for anyone who is importing it.
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user