-
Notifications
You must be signed in to change notification settings - Fork 0
/
avas_list.txt
1499 lines (1499 loc) · 56.1 KB
/
avas_list.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
def _get_locale_dirs(resources, include_core=True):
def _tx_resource_for_name(name):
def _check_diff(cat_name, base_path):
def update_catalogs(resources=None, languages=None):
def lang_stats(resources=None, languages=None):
def fetch(resources=None, languages=None):
def setup(app):
def parse_django_admin_node(env, sig, signode):
def visit_console_dummy(self, node):
def depart_console_dummy(self, node):
def visit_console_html(self, node):
def html_page_context_hook(app, pagename, templatename, context, doctree):
def setup(set_prefix=True):
def render(request, template_name, context=None, content_type=None, status=None, using=None):
def redirect(to, *args, permanent=False, **kwargs):
def _get_queryset(klass):
def get_object_or_404(klass, *args, **kwargs):
def get_list_or_404(klass, *args, **kwargs):
def resolve_url(to, *args, **kwargs):
def parse_cookie(cookie):
def bytes_to_text(s, encoding):
def split_domain_port(host):
def validate_host(host, allowed_hosts):
def exhaust(stream_or_iterable):
def parse_boundary_stream(stream, max_header_size):
def parse_header(line):
def _parse_header_params(s):
def deconstructible(*args, path=None):
def import_string(dotted_path):
def autodiscover_modules(*args, **kwargs):
def module_has_submodule(package, module_name):
def module_dir(module):
def reset_format_cache():
def iter_format_modules(lang, format_module_path=None):
def get_format_modules(lang=None, reverse=False):
def get_format(format_type, lang=None, use_l10n=None):
def date_format(value, format=None, use_l10n=None):
def time_format(value, format=None, use_l10n=None):
def number_format(value, decimal_pos=None, use_l10n=None, force_grouping=False):
def localize(value, use_l10n=None):
def localize_input(value, default=None):
def sanitize_separators(value):
def _update_method_wrapper(_wrapper, decorator):
def _multi_decorate(decorators, method):
def method_decorator(decorator, name=''):
def decorator_from_middleware_with_args(middleware_class):
def decorator_from_middleware(middleware_class):
def make_middleware_decorator(middleware_class):
def format(number, decimal_sep, decimal_pos=None, grouping=0, thousand_sep='',
def colorize(text='', opts=(), **kwargs):
def make_style(opts=(), **kwargs):
def parse_color_setting(config_string):
def salted_hmac(key_salt, value, secret=None):
def get_random_string(length=12,
def constant_time_compare(val1, val2):
def pbkdf2(password, salt, iterations, dklen=0, digest=None):
def clean_ipv6_address(ip_str, unpack_ipv4=False,
def is_valid_ipv6_address(ip_str):
def extract(path, to_path):
def patch_cache_control(response, **kwargs):
def get_max_age(response):
def set_response_etag(response):
def _precondition_failed(request):
def _not_modified(request, response=None):
def get_conditional_response(request, etag=None, last_modified=None, response=None):
def _if_match_passes(target_etag, etags):
def _if_unmodified_since_passes(last_modified, if_unmodified_since):
def _if_none_match_passes(target_etag, etags):
def _if_modified_since_passes(last_modified, if_modified_since):
def patch_response_headers(response, cache_timeout=None):
def add_never_cache_headers(response):
def patch_vary_headers(response, newheaders):
def has_vary_header(response, header_query):
def _i18n_cache_key_suffix(request, cache_key):
def _generate_cache_key(request, method, headerlist, key_prefix):
def _generate_cache_header_key(key_prefix, request):
def get_cache_key(request, key_prefix=None, method='GET', cache=None):
def learn_cache_key(request, response, cache_timeout=None, key_prefix=None, cache=None):
def _to_tuple(s):
def safe_join(base, *paths):
def symlinks_supported():
def to_path(value):
def smart_str(s, encoding='utf-8', strings_only=False, errors='strict'):
def is_protected_type(obj):
def force_str(s, encoding='utf-8', strings_only=False, errors='strict'):
def smart_bytes(s, encoding='utf-8', strings_only=False, errors='strict'):
def force_bytes(s, encoding='utf-8', strings_only=False, errors='strict'):
def smart_text(s, encoding='utf-8', strings_only=False, errors='strict'):
def force_text(s, encoding='utf-8', strings_only=False, errors='strict'):
def iri_to_uri(iri):
def uri_to_iri(uri):
def escape_uri_path(path):
def punycode(domain):
def repercent_broken_unicode(path):
def filepath_to_uri(path):
def get_system_encoding():
def capfirst(x):
def wrap(text, width):
def get_valid_filename(s):
def get_text_list(list_, last_word=gettext_lazy('or')):
def normalize_newlines(text):
def phone2numeric(phone):
def compress_string(s):
def compress_sequence(sequence):
def smart_split(text):
def _replace_entity(match):
def unescape_entities(text):
def unescape_string_literal(s):
def slugify(value, allow_unicode=False):
def camel_case_to_spaces(value):
def _format_lazy(format_string, *args, **kwargs):
def configure_logging(logging_config, logging_settings):
def log_response(message, *args, response=None, request=None, logger=request_logger, level=None, exc_info=None):
def _get_duration_components(duration):
def duration_string(duration):
def duration_iso_string(duration):
def duration_microseconds(delta):
def async_unsafe(message):
def check_errors(fn):
def raise_last_exception():
def ensure_echo_on():
def iter_all_python_module_files():
def iter_modules_and_files(modules, extra_files):
def common_roots(paths):
def sys_path_directories():
def get_child_arguments():
def trigger_reload(filename):
def restart_with_reloader():
def get_reloader():
def start_django(reloader, main_func, *args, **kwargs):
def run_with_reloader(main_func, *args, **kwargs):
def format(value, format_string):
def time_format(value, format_string):
def get_func_args(func):
def get_func_full_args(func):
def func_accepts_kwargs(func):
def func_accepts_var_args(func):
def method_has_no_args(meth):
def func_supports_parameter(func, parameter):
def normalize(pattern):
def next_char(input_iter):
def walk_to_end(ch, input_iter):
def get_quantifier(ch, input_iter):
def contains(source, inst):
def flatten_result(source):
def _lazy_re_compile(regex, flags=0):
def new_date(d):
def new_datetime(d):
def _findall(text, substr):
def strftime(dt, fmt):
def parse_date(value):
def parse_time(value):
def parse_datetime(value):
def parse_duration(value):
def urlquote(url, safe='/'):
def urlquote_plus(url, safe=''):
def urlunquote(quoted_url):
def urlunquote_plus(quoted_url):
def urlencode(query, doseq=False):
def http_date(epoch_seconds=None):
def parse_http_date(date):
def parse_http_date_safe(date):
def base36_to_int(s):
def int_to_base36(i):
def urlsafe_base64_encode(s):
def urlsafe_base64_decode(s):
def parse_etags(etag_str):
def quote_etag(etag_str):
def is_same_domain(host, pattern):
def url_has_allowed_host_and_scheme(url, allowed_hosts, require_https=False):
def is_safe_url(url, allowed_hosts, require_https=False):
def _urlparse(url, scheme='', allow_fragments=True):
def _urlsplit(url, scheme='', allow_fragments=True):
def _url_has_allowed_host_and_scheme(url, allowed_hosts, require_https=False):
def limited_parse_qsl(qs, keep_blank_values=False, encoding='utf-8',
def escape_leading_slashes(url):
def get_fixed_timezone(offset):
def get_default_timezone():
def get_default_timezone_name():
def get_current_timezone():
def get_current_timezone_name():
def _get_timezone_name(timezone):
def activate(timezone):
def deactivate():
def template_localtime(value, use_tz=None):
def localtime(value=None, timezone=None):
def localdate(value=None, timezone=None):
def now():
def is_aware(value):
def is_naive(value):
def make_aware(value, timezone=None, is_dst=None):
def make_naive(value, timezone=None):
def _safety_decorator(safety_marker, func):
def mark_safe(s):
def lazy(func, *resultclasses):
def _lazy_proxy_unpickle(func, args, kwargs, *resultclasses):
def lazystr(text):
def keep_lazy(*resultclasses):
def keep_lazy_text(func):
def new_method_proxy(func):
def unpickle_lazyobject(wrapped):
def partition(predicate, values):
def make_hashable(value):
def _destruct_iterable_mapping_values(data):
def literals(choices, prefix="", suffix=""):
def prepare_js_for_gettext(js):
def sentence():
def paragraph():
def paragraphs(count, common=True):
def words(count, common=True):
def rfc2822_date(date):
def rfc3339_date(date):
def get_tag_uri(url, date):
def topological_sort_as_sets(dependency_graph):
def stable_topological_sort(l, dependency_graph):
def escape(text):
def escapejs(value):
def json_script(value, element_id):
def conditional_escape(text):
def format_html(format_string, *args, **kwargs):
def format_html_join(sep, format_string, args_generator):
def linebreaks(value, autoescape=False):
def _strip_once(value):
def strip_tags(value):
def strip_spaces_between_tags(value):
def smart_urlquote(url):
def urlize(text, trim_url_limit=None, nofollow=False, autoescape=False):
def avoid_wrapping(value):
def html_safe(klass):
def get_version(version=None):
def get_main_version(version=None):
def get_complete_version(version=None):
def get_docs_version(version=None):
def get_git_changeset():
def get_version_tuple(version):
def is_iterable(x):
def timesince(d, now=None, reversed=False, time_strings=None):
def timeuntil(d, now=None, time_strings=None):
def gettext_noop(message):
def ugettext_noop(message):
def gettext(message):
def ugettext(message):
def ngettext(singular, plural, number):
def ungettext(singular, plural, number):
def pgettext(context, message):
def npgettext(context, singular, plural, number):
def ugettext_lazy(message):
def lazy_number(func, resultclass, number=None, **kwargs):
def _lazy_number_unpickle(func, resultclass, number, kwargs):
def ngettext_lazy(singular, plural, number=None):
def ungettext_lazy(singular, plural, number=None):
def npgettext_lazy(context, singular, plural, number=None):
def activate(language):
def deactivate():
def get_language():
def get_language_bidi():
def check_for_language(lang_code):
def to_language(locale):
def to_locale(language):
def get_language_from_request(request, check_path=False):
def get_language_from_path(path):
def get_supported_language_variant(lang_code, *, strict=False):
def templatize(src, **kwargs):
def deactivate_all():
def get_language_info(lang_code):
def trim_whitespace(s):
def round_away_from_one(value):
def reset_cache(**kwargs):
def translation(language):
def activate(language):
def deactivate():
def deactivate_all():
def get_language():
def get_language_bidi():
def catalog():
def gettext(message):
def pgettext(context, message):
def gettext_noop(message):
def do_ntranslate(singular, plural, number, translation_function):
def ngettext(singular, plural, number):
def npgettext(context, singular, plural, number):
def all_locale_paths():
def check_for_language(lang_code):
def get_languages():
def get_supported_language_variant(lang_code, strict=False):
def get_language_from_path(path, strict=False):
def get_language_from_request(request, check_path=False):
def parse_accept_lang_header(lang_string):
def gettext(message):
def ngettext(singular, plural, number):
def pgettext(context, message):
def npgettext(context, singular, plural, number):
def activate(x):
def deactivate():
def get_language():
def get_language_bidi():
def check_for_language(x):
def get_language_from_request(request, check_path=False):
def get_language_from_path(request):
def get_supported_language_variant(lang_code, strict=False):
def watch_for_translation_changes(sender, **kwargs):
def translation_file_changed(sender, file_path, **kwargs):
def blankout(src, char):
def templatize(src, origin=None):
def _make_id(target):
def receiver(signal, **kwargs):
def do_get_available_languages(parser, token):
def do_get_language_info(parser, token):
def do_get_language_info_list(parser, token):
def language_name(lang_code):
def language_name_translated(lang_code):
def language_name_local(lang_code):
def language_bidi(lang_code):
def do_get_current_language(parser, token):
def do_get_current_language_bidi(parser, token):
def do_translate(parser, token):
def do_block_translate(parser, token):
def language(parser, token):
def do_cache(parser, token):
def localize(value):
def unlocalize(value):
def localize_tag(parser, token):
def localtime(value):
def utc(value):
def do_timezone(value, arg):
def localtime_tag(parser, token):
def timezone_tag(parser, token):
def get_current_timezone_tag(parser, token):
def get_static_prefix(parser, token):
def get_media_prefix(parser, token):
def do_static(parser, token):
def static(path):
def add_domain(domain, url, secure=False):
def _simple_domain_name_validator(value):
def clear_site_cache(sender, **kwargs):
def create_default_site(app_config, verbosity=2, interactive=True, using=DEFAULT_DB_ALIAS, apps=global_apps, **kwargs):
def get_current_site(request):
def pretty_name(obj):
def feed(request, url, feed_dict=None):
def compress_kml(kml):
def render_to_kml(*args, **kwargs):
def render_to_kmz(*args, **kwargs):
def mapping(data_source, geom_name='geom', layer_key=0, multi_geom=False):
def ogrinspect(*args, **kwargs):
def _ogrinspect(data_source, model_name, geom_name='geom', layer_key=0, srid=None,
def add_srs_entry(srs, auth_name='EPSG', auth_srid=None, ref_sys_name=None,
def ogrinfo(data_source, num_features=10):
def fromfile(file_h):
def fromstr(string, **kwargs):
def load_geos():
def notice_h(fmt, lst):
def error_h(fmt, lst):
def geos_version():
def geos_version_tuple():
def last_arg_byref(args):
def check_dbl(result, func, cargs):
def check_geom(result, func, cargs):
def check_minus_one(result, func, cargs):
def check_predicate(result, func, cargs):
def check_sized_string(result, func, cargs):
def check_string(result, func, cargs):
def check_cs_op(result, func, cargs):
def check_cs_get(result, func, cargs):
def wkt_r():
def wkt_w(dim=2, trim=False, precision=None):
def wkb_r():
def wkb_w(dim=2):
def ewkb_w(dim=2):
def std_call(func):
def gdal_version():
def gdal_full_version():
def gdal_version_info():
def err_handler(error_class, error_number, message):
def function(name, args, restype):
def check_err(code, cpl=False):
def arg_byref(args, offset=-1):
def ptr_byref(args, offset=-1):
def check_const_string(result, func, cargs, offset=None, cpl=False):
def check_string(result, func, cargs, offset=-1, str_result=False):
def check_envelope(result, func, cargs, offset=-1):
def check_geom(result, func, cargs):
def check_geom_offset(result, func, cargs, offset=-1):
def check_srs(result, func, cargs):
def check_arg_errcode(result, func, cargs, cpl=False):
def check_errcode(result, func, cargs, cpl=False):
def check_pointer(result, func, cargs):
def check_str_arg(result, func, cargs):
def bool_output(func, argtypes, errcheck=None):
def double_output(func, argtypes, errcheck=False, strarg=False, cpl=False):
def geom_output(func, argtypes, offset=None):
def int_output(func, argtypes, errcheck=None):
def int64_output(func, argtypes):
def srs_output(func, argtypes):
def const_string_output(func, argtypes, offset=None, decoding=None, cpl=False):
def string_output(func, argtypes, offset=-1, str_result=False, decoding=None):
def void_output(func, argtypes, errcheck=True, cpl=False):
def voidptr_output(func, argtypes, errcheck=True):
def chararray_output(func, argtypes, errcheck=True):
def env_func(f, argtypes):
def pnt_func(f):
def topology_func(f):
def srs_double(f):
def units_func(f):
def kml(request, label, model, field_name=None, compress=False, using=DEFAULT_DB_ALIAS):
def kmz(request, label, model, field_name=None, using=DEFAULT_DB_ALIAS):
def get_srid_info(srid, connection):
def pack(structure, data):
def unpack(structure, data):
def chunk(data, index):
def from_pgraster(data):
def to_pgraster(rast):
def City(response):
def Country(response):
def flatpage(request, url):
def render_flatpage(request, f):
def get_flatpages(parser, token):
def ordinal(value):
def intcomma(value, use_l10n=True):
def intword(value):
def apnumber(value):
def naturalday(value, arg=None):
def naturaltime(value):
def get_hstore_oids(connection_alias):
def get_citext_oids(connection_alias):
def register_type_handlers(connection, **kwargs):
def prefix_validation_error(error, prefix, code, params):
def uninstall_if_needed(setting, value, enter, **kwargs):
def get_content_type_for_model(obj):
def get_ul_class(radio_style):
def autodiscover():
def register(*models, site=None):
def delete_selected(modeladmin, request, queryset):
def lookup_needs_distinct(opts, lookup_path):
def prepare_lookup_value(key, value):
def quote(s):
def unquote(s):
def flatten(fields):
def flatten_fieldsets(fieldsets):
def get_deleted_objects(objs, request, admin_site):
def model_format_dict(obj):
def model_ngettext(obj, n=None):
def lookup_field(name, obj, model_admin=None):
def _get_non_gfk_field(opts, name):
def label_for_field(name, model, model_admin=None, return_attr=False, form=None):
def help_text_for_field(name, model):
def display_for_field(value, field, empty_value_display):
def display_for_value(value, empty_value_display, boolean=False):
def get_model_from_relation(field):
def reverse_field_path(model, path):
def get_fields_from_path(model, path):
def construct_change_message(form, formsets, add):
def _get_changed_field_labels_from_form(form, changed_data):
def url_params_from_lookup_dict(lookups):
def _issubclass(cls, classinfo):
def _contains_subclass(class_path, candidate_paths):
def check_admin_app(app_configs, **kwargs):
def check_dependencies(**kwargs):
def must_be(type, option, obj, id):
def must_inherit_from(parent, option, obj, id):
def refer_to_missing_field(field, option, obj, id):
def paginator_number(cl, i):
def pagination(cl):
def pagination_tag(parser, token):
def result_headers(cl):
def _boolean_icon(field_val):
def _coerce_field_name(field_name, field_index):
def items_for_result(cl, result, form):
def results(cl):
def result_hidden_fields(cl):
def result_list(cl):
def result_list_tag(parser, token):
def date_hierarchy(cl):
def date_hierarchy_tag(parser, token):
def search_form(cl):
def search_form_tag(parser, token):
def admin_list_filter(cl, spec):
def admin_actions(context):
def admin_actions_tag(parser, token):
def change_list_object_tools_tag(parser, token):
def get_admin_log(parser, token):
def prepopulated_fields_js(context):
def prepopulated_fields_js_tag(parser, token):
def submit_row(context):
def submit_row_tag(parser, token):
def change_form_object_tools_tag(parser, token):
def cell_count(inline_admin_form):
def admin_urlname(value, arg):
def admin_urlquote(value):
def add_preserved_filters(context, url, popup=False, to_field=None):
def staff_member_required(view_func=None, redirect_field_name=REDIRECT_FIELD_NAME,
def main():
def serve(request, path, insecure=False, **kwargs):
def matches_patterns(path, patterns=None):
def get_files(storage, ignore_patterns=None, location=''):
def check_settings(base_url=None):
def check_finders(app_configs=None, **kwargs):
def find(path, all=False):
def get_finders():
def get_finder(import_path):
def staticfiles_urlpatterns(prefix=None):
def get_return_data_type(func_name):
def get_readable_field_data_type(field):
def extract_views_from_urlpatterns(urlpatterns, base='', namespace=None):
def simplify_regex(pattern):
def get_view_name(view_func):
def parse_docstring(docstring):
def parse_rst(text, default_reference_context, thing_being_parsed=None):
def create_reference_role(rolename, urlbase):
def default_reference_role(name, rawtext, text, lineno, inliner, options=None, content=None):
def replace_named_groups(pattern):
def replace_unnamed_groups(pattern):
def ping_google(sitemap_url=None, ping_url=PING_URL, sitemap_uses_https=True):
def _get_sitemap_full_url(sitemap_url, sitemap_uses_https=True):
def x_robots_tag(func):
def index(request, sitemaps,
def sitemap(request, sitemaps, section=None,
def update_last_login(sender, user, **kwargs):
def _user_get_permissions(user, obj, from_name):
def _user_has_perm(user, perm, obj):
def _user_has_module_perms(user, app_label):
def load_backend(path):
def _get_backends(return_tuples=False):
def get_backends():
def _clean_credentials(credentials):
def _get_user_session_key(request):
def authenticate(request=None, **credentials):
def login(request, user, backend=None):
def logout(request):
def get_user_model():
def get_user(request):
def get_permission_codename(action, opts):
def update_session_auth_hash(request, user):
def user_passes_test(test_func, login_url=None, redirect_field_name=REDIRECT_FIELD_NAME):
def login_required(function=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url=None):
def permission_required(perm, login_url=None, raise_exception=False):
def get_user(request):
def logout_then_login(request, login_url=None):
def redirect_to_login(next, login_url=None, redirect_field_name=REDIRECT_FIELD_NAME):
def auth(request):
def _unicode_ci_compare(s1, s2):
def check_user_model(app_configs=None, **kwargs):
def check_models_permissions(app_configs=None, **kwargs):
def get_default_password_validators():
def get_password_validators(validator_config):
def validate_password(password, user=None, password_validators=None):
def password_changed(password, user=None, password_validators=None):
def password_validators_help_texts(password_validators=None):
def _password_validators_help_text_html(password_validators=None):
def is_password_usable(encoded):
def check_password(password, encoded, setter=None, preferred='default'):
def make_password(password, salt=None, hasher='default'):
def get_hashers():
def get_hashers_by_algorithm():
def reset_hashers(**kwargs):
def get_hasher(algorithm='default'):
def identify_hasher(encoded):
def mask_hash(hash, show=6, char="*"):
def update_proxy_model_permissions(apps, schema_editor, reverse=False):
def revert_proxy_model_permissions(apps, schema_editor):
def _get_all_permissions(opts):
def _get_builtin_permissions(opts):
def create_permissions(app_config, verbosity=2, interactive=True, using=DEFAULT_DB_ALIAS, apps=global_apps, **kwargs):
def get_system_username():
def get_default_username(check_db=True):
def check_password(environ, username, password):
def groups_for_user(environ, username):
def get_level_tags():
def messages(request):
def add_message(request, level, message, extra_tags='', fail_silently=False):
def get_messages(request):
def get_level(request):
def set_level(request, level):
def debug(request, message, extra_tags='', fail_silently=False):
def info(request, message, extra_tags='', fail_silently=False):
def success(request, message, extra_tags='', fail_silently=False):
def warning(request, message, extra_tags='', fail_silently=False):
def error(request, message, extra_tags='', fail_silently=False):
def default_storage(request):
def create_generic_related_manager(superclass, rel):
def shortcut(request, content_type_id, object_id):
def generic_inlineformset_factory(model, form=ModelForm,
def check_generic_foreign_keys(app_configs=None, **kwargs):
def check_model_name_lengths(app_configs=None, **kwargs):
def add_legacy_name(apps, schema_editor):
def inject_rename_contenttypes_operations(plan=None, apps=global_apps, using=DEFAULT_DB_ALIAS, **kwargs):
def get_contenttypes_and_models(app_config, using, ContentType):
def create_contenttypes(app_config, verbosity=2, interactive=True, using=DEFAULT_DB_ALIAS, apps=global_apps, **kwargs):
def set_language(request):
def get_formats():
def technical_500_response(request, exc_type, exc_value, tb, status_code=500):
def get_default_exception_reporter_filter():
def get_exception_reporter_filter(request):
def get_exception_reporter_class(request):
def technical_404_response(request, exception):
def default_urlconf(request):
def csrf_failure(request, reason="", template_name=CSRF_FAILURE_TEMPLATE_NAME):
def page_not_found(request, exception, template_name=ERROR_404_TEMPLATE_NAME):
def server_error(request, template_name=ERROR_500_TEMPLATE_NAME):
def bad_request(request, exception, template_name=ERROR_400_TEMPLATE_NAME):
def permission_denied(request, exception, template_name=ERROR_403_TEMPLATE_NAME):
def serve(request, path, document_root=None, show_indexes=False):
def directory_index(path, fullpath):
def was_modified_since(header=None, mtime=0, size=0):
def _date_from_string(year, year_format, month='', month_format='', day='', day_format='', delim='__'):
def _get_next_prev(generic_view, date, is_previous, period):
def timezone_today():
def cache_page(timeout, *, cache=None, key_prefix=None):
def cache_control(**kwargs):
def never_cache(view_func):
def xframe_options_deny(view_func):
def xframe_options_sameorigin(view_func):
def xframe_options_exempt(view_func):
def sensitive_variables(*variables):
def sensitive_post_parameters(*parameters):
def csrf_exempt(view_func):
def require_http_methods(request_method_list):
def condition(etag_func=None, last_modified_func=None):
def etag(etag_func):
def last_modified(last_modified_func):
def vary_on_headers(*headers):
def vary_on_cookie(func):
def clear_cache_handlers(**kwargs):
def update_installed_apps(**kwargs):
def update_connections_time_zone(**kwargs):
def clear_routers_cache(**kwargs):
def reset_template_engines(**kwargs):
def clear_serializers_cache(**kwargs):
def language_changed(**kwargs):
def localize_settings_changed(**kwargs):
def file_storage_changed(**kwargs):
def complex_setting_changed(**kwargs):
def root_urlconf_changed(**kwargs):
def static_storage_changed(**kwargs):
def static_finders_changed(**kwargs):
def auth_password_validators_changed(**kwargs):
def user_model_swapped(**kwargs):
def closing_iterator_wrapper(iterable, close):
def conditional_content_removal(request, response):
def store_rendered_templates(store, signal, sender, template, context, **kwargs):
def encode_multipart(boundary, data):
def encode_file(boundary, key, file):
def instrumented_test_render(self, context):
def setup_test_environment(debug=None):
def teardown_test_environment():
def setup_databases(verbosity, interactive, keepdb=False, debug_sql=False, parallel=0, aliases=None, **kwargs):
def dependency_ordered(test_databases, dependencies):
def get_unique_databases_and_mirrors(aliases=None):
def teardown_databases(old_config, verbosity, parallel=0, keepdb=False):
def get_runner(settings, test_runner_class=None):
def compare_xml(want, got):
def extend_sys_path(*paths):
def isolate_lru_cache(lru_cache_object):
def captured_output(stream_name):
def captured_stdout():
def captured_stderr():
def captured_stdin():
def freeze_time(t):
def require_jinja2(test_func):
def tag(*tags):
def register_lookup(field, *lookups, lookup_name=None):
def to_list(value):
def assert_and_parse_html(self, html, user_msg, msg):
def connections_support_transactions(aliases=None):
def _deferredSkip(condition, reason, name):
def skipIfDBFeature(*features):
def skipUnlessDBFeature(*features):
def skipUnlessAnyDBFeature(*features):
def normalize_whitespace(string):
def parse_html(html):
def default_test_processes():
def _init_worker(counter):
def _run_subsuite(args):
def is_discoverable(label):
def reorder_suite(suite, classes, reverse=False):
def partition_suite_by_type(suite, classes, bins, reverse=False):
def partition_suite_by_case(suite):
def filter_tests_by_tags(suite, tags, exclude_tags):
def reset_queries(**kwargs):
def close_old_connections(**kwargs):
def load_backend(backend_name):
def get_connection(using=None):
def get_autocommit(using=None):
def set_autocommit(autocommit, using=None):
def commit(using=None):
def rollback(using=None):
def savepoint(using=None):
def savepoint_rollback(sid, using=None):
def savepoint_commit(sid, using=None):
def clean_savepoints(using=None):
def get_rollback(using=None):
def set_rollback(rollback, using=None):
def mark_for_rollback_on_error(using=None):
def on_commit(func, using=None):
def atomic(using=None, savepoint=True):
def _non_atomic_requests(view, using):
def non_atomic_requests(using=None):
def swappable_dependency(value):
def get_migration_name_timestamp():
def serializer_factory(value):
def _get_app_label_and_model_name(model, app_label=''):
def _get_related_models(m):
def get_related_models_tuples(model):
def get_related_models_recursive(model):
def _check_for_duplicates(arg_name, objs):
def is_referenced_by_foreign_key(state, model_name_lower, field, field_name):
def field_references_model(field, model_tuple):
def normalize_together(option_together):
def make_immutable_fields_list(name, data):
def subclass_exception(name, bases, module, attached_to):
def _has_contribute_to_class(value):
def method_set_order(self, ordered_obj, id_list, using=None):
def method_get_order(self, ordered_obj):
def make_foreign_order_accessors(model, related_model):
def model_unpickle(model_id):
def make_model_tuple(model):
def resolve_callables(mapping):
def subclasses(cls):
def select_related_descend(field, restricted, requested, load_fields, reverse=False):
def refs_expression(lookup_parts, annotations):
def check_rel_lookup_compatibility(model, target_opts, field):
def normalize_prefetch_lookups(lookups, prefix=None):
def prefetch_related_objects(model_instances, *related_lookups):
def get_prefetcher(instance, through_attr, to_attr):
def prefetch_one_level(instances, prefetcher, lookup, level):
def get_related_populators(klass_info, select, db):
def CASCADE(collector, field, sub_objs, using):
def PROTECT(collector, field, sub_objs, using):
def RESTRICT(collector, field, sub_objs, using):
def SET(value):
def SET_NULL(collector, field, sub_objs, using):
def SET_DEFAULT(collector, field, sub_objs, using):
def DO_NOTHING(collector, field, sub_objs, using):
def get_candidate_relations_to_delete(opts):
def get_normalized_value(value, lhs):
def _load_field(app_label, model_name, field_name):
def _empty(of_cls):
def return_None():
def resolve_relation(scope_model, relation):
def lazy_related_operation(function, model, *related_models, **kwargs):
def create_many_to_many_intermediary_model(field, klass):
def create_reverse_many_to_one_manager(superclass, rel):
def create_forward_many_to_many_manager(superclass, rel, reverse):
def get_field_names_from_opts(opts):
def get_children_from_q(q):
def get_order_dir(field, default='ASC'):
def add_to_dict(data, key, value):
def is_reverse_o2o(field):
def cursor_iter(cursor, sentinel, col_count, itersize):
def typecast_date(s):
def typecast_time(s): # does NOT store time zone information
def typecast_timestamp(s): # does NOT store time zone information
def split_identifier(identifier):
def truncate_name(identifier, length=None, hash_len=4):
def names_digest(*args, length):
def format_number(value, max_digits, decimal_places):
def strip_quotes(table_name):
def _is_relevant_relation(relation, altered_field):
def _all_related_fields(model):
def _related_non_m2m_objects(old_field, new_field):
def decoder(conv_func):
def none_guard(func):
def list_aggregate(function):
def check_sqlite_version():
def _sqlite_datetime_parse(dt, tzname=None, conn_tzname=None):
def _sqlite_date_trunc(lookup_type, dt):
def _sqlite_time_trunc(lookup_type, dt):
def _sqlite_datetime_cast_date(dt, tzname, conn_tzname):
def _sqlite_datetime_cast_time(dt, tzname, conn_tzname):
def _sqlite_datetime_extract(lookup_type, dt, tzname=None, conn_tzname=None):
def _sqlite_datetime_trunc(lookup_type, dt, tzname, conn_tzname):
def _sqlite_time_extract(lookup_type, dt):
def _sqlite_format_dtdelta(conn, lhs, rhs):
def _sqlite_time_diff(lhs, rhs):
def _sqlite_timestamp_diff(lhs, rhs):
def _sqlite_regexp(re_pattern, re_string):
def _sqlite_lpad(text, length, fill_text):
def _sqlite_rpad(text, length, fill_text):
def get_field_size(name):
def complain(*args, **kwargs):
def ignore(*args, **kwargs):
def _setup_environment(environ):
def wrap_oracle_errors():
def psycopg2_version():
def get_template(template_name, using=None):
def select_template(template_name_list, using=None):
def render_to_string(template_name, context=None, request=None, using=None):
def _engine_list(using=None):
def do_block(parser, token):
def construct_relative_path(current_template_name, relative_name):
def do_extends(parser, token):
def do_include(parser, token):
def linebreak_iter(template_source):
def render_value_in_context(value, context):
def token_kwargs(bits, parser, support_legacy=False):
def make_context(context, request=None, **kwargs):
def get_app_template_dirs(dirname):
def autoescape(parser, token):
def comment(parser, token):
def cycle(parser, token):
def csrf_token(parser, token):
def debug(parser, token):
def do_filter(parser, token):
def firstof(parser, token):
def do_for(parser, token):
def do_ifequal(parser, token, negate):
def ifequal(parser, token):
def ifnotequal(parser, token):
def do_if(parser, token):
def ifchanged(parser, token):
def find_library(parser, name):
def load_from_library(library, label, names):
def load(parser, token):
def lorem(parser, token):
def now(parser, token):
def regroup(parser, token):
def resetcycle(parser, token):
def spaceless(parser, token):
def templatetag(parser, token):
def url(parser, token):
def verbatim(parser, token):
def widthratio(parser, token):
def do_with(parser, token):
def csrf(request):
def debug(request):
def i18n(request):
def tz(request):
def static(request):
def media(request):
def request(request):
def stringfilter(func):
def addslashes(value):
def capfirst(value):
def escapejs_filter(value):
def json_script(value, element_id):
def floatformat(text, arg=-1):
def iriencode(value):
def linenumbers(value, autoescape=True):
def lower(value):
def make_list(value):
def slugify(value):
def stringformat(value, arg):
def title(value):
def truncatechars(value, arg):
def truncatechars_html(value, arg):
def truncatewords(value, arg):
def truncatewords_html(value, arg):
def upper(value):
def urlencode(value, safe=None):
def urlize(value, autoescape=True):
def urlizetrunc(value, limit, autoescape=True):
def wordcount(value):
def wordwrap(value, arg):
def ljust(value, arg):
def rjust(value, arg):
def center(value, arg):
def cut(value, arg):
def escape_filter(value):
def force_escape(value):
def linebreaks_filter(value, autoescape=True):
def linebreaksbr(value, autoescape=True):
def safe(value):
def safeseq(value):
def striptags(value):
def _property_resolver(arg):
def dictsort(value, arg):
def dictsortreversed(value, arg):
def first(value):
def join(value, arg, autoescape=True):
def last(value):
def length(value):
def length_is(value, arg):
def random(value):
def slice_filter(value, arg):
def unordered_list(value, autoescape=True):
def add(value, arg):
def get_digit(value, arg):
def date(value, arg=None):
def time(value, arg=None):
def timesince_filter(value, arg=None):
def timeuntil_filter(value, arg=None):
def default(value, arg):
def default_if_none(value, arg):
def divisibleby(value, arg):
def yesno(value, arg=None):
def filesizeformat(bytes_):
def pluralize(value, arg='s'):
def phone2numeric_filter(value):
def pprint(value):
def infix(bp, func):
def prefix(bp, func):
def parse_bits(parser, bits, params, varargs, varkw, defaults,
def import_library(name):
def get_exception_info(exception):
def csrf_input(request):
def copy_exception(exc, backend=None):
def reraise(exc, backend):
def get_installed_libraries():
def get_package_libraries(pkg):
def validate_integer(value):
def validate_ipv4_address(value):
def validate_ipv6_address(value):
def validate_ipv46_address(value):
def ip_address_validators(protocol, unpack_ipv4):
def int_list_validator(sep=',', message=None, code='invalid', allow_negative=False):
def get_available_image_extensions():
def validate_image_file_extension(value):
def get_asgi_application():
def b64_encode(s):
def b64_decode(s):
def base64_hmac(salt, value, key):
def get_cookie_signer(salt='django.core.signing.get_cookie_signer'):
def dumps(obj, key=None, salt='django.core.signing', serializer=JSONSerializer, compress=False):
def loads(s, key=None, salt='django.core.signing', serializer=JSONSerializer, max_age=None):
def get_wsgi_application():
def find_commands(management_dir):
def load_command_class(app_name, name):
def get_commands():
def call_command(command_name, *args, **options):
def execute_from_command_line(argv=None):
def handle_default_options(options):
def no_translations(handle_func):
def popen_wrapper(args, stdout_encoding='utf-8'):
def handle_extensions(extensions):
def find_command(cmd, path=None, pathext=None):
def get_random_secret_key():
def parse_apps_and_model_labels(labels):
def get_command_line_option(argv, option):
def normalize_path_patterns(patterns):
def is_ignored_path(path, ignore_patterns):
def supports_color():
def make_style(config_string=''):
def no_style():
def color_style(force_color=False):
def sql_flush(style, connection, only_django=False, reset_sequences=True, allow_cascade=False):
def emit_pre_migrate_signal(verbosity, interactive, db, **kwargs):
def emit_post_migrate_signal(verbosity, interactive, db, **kwargs):
def check_programs(*programs):
def normalize_eols(raw_contents):
def write_pot_file(potfile, msgs):
def module_to_dict(module, omittable=lambda k: k.startswith('_') or not k.isupper()):
def humanize(dirname):
def has_bom(fn):
def is_writable(path):
def _fd(f):
def _samefile(src, dst):
def file_move_safe(old_file_name, new_file_name, chunk_size=1024 * 64, allow_overwrite=False):
def load_handler(path, *args, **kwargs):
def endswith_cr(line):
def endswith_lf(line):
def equals_lf(line):
def get_image_dimensions(file_or_path, close=False):
def get_storage_class(import_path=None):
def getInnerText(node):
def register_serializer(format, serializer_module, serializers=None):
def unregister_serializer(format):
def get_serializer(format):
def get_serializer_formats():
def get_public_serializer_formats():
def get_deserializer(format):
def serialize(format, queryset, **options):
def deserialize(format, stream_or_string, **options):
def _load_serializers():
def sort_dependencies(app_list):
def Deserializer(stream_or_string, **options):
def build_instance(Model, data, db):
def deserialize_m2m_values(field, field_value, using, handle_forward_references):
def deserialize_fk_value(field, field_value, using, handle_forward_references):
def Deserializer(object_list, *, using=DEFAULT_DB_ALIAS, ignorenonexistent=False, **options):
def _get_model(model_identifier):
def Deserializer(stream_or_string, **options):
def _create_cache(backend, **kwargs):
def close_caches(**kwargs):
def make_template_fragment_key(fragment_name, vary_on=None):
def default_key_func(key, key_prefix, version):
def get_key_func(key_func):
def get_internal_wsgi_application():
def is_broken_pipe_error():
def run(addr, port, wsgi_handler, ipv6=False, threading=False, server_cls=WSGIServer):
def get_connection(backend=None, fail_silently=False, **kwds):
def send_mail(subject, message, from_email, recipient_list,
def send_mass_mail(datatuple, fail_silently=False, auth_user=None,
def mail_admins(subject, message, fail_silently=False, connection=None,
def mail_managers(subject, message, fail_silently=False, connection=None,
def forbid_multi_line_headers(name, val, encoding):
def sanitize_address(addr, encoding):
def check_setting_language_code(app_configs, **kwargs):
def check_setting_languages(app_configs, **kwargs):
def check_setting_languages_bidi(app_configs, **kwargs):
def check_language_settings_consistent(app_configs, **kwargs):
def check_setting_app_dirs_loaders(app_configs, **kwargs):
def check_string_if_invalid_is_string(app_configs, **kwargs):
def check_default_cache_is_configured(app_configs, **kwargs):
def check_database_backends(*args, **kwargs):
def check_url_config(app_configs, **kwargs):
def check_resolver(resolver):
def check_url_namespaces_unique(app_configs, **kwargs):
def _load_all_namespaces(resolver, parents=()):
def get_warning_for_invalid_pattern(pattern):
def check_url_settings(app_configs, **kwargs):
def E006(name):