Django 1.10.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.10.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 1.8.x Documentationone handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My Authorization backends can now raise PermissionDenied in has_perm() and has_module_perms() to short-circuit permission checking. • PasswordResetForm now has a method send_mail() that can be overridden to0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationone handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My Authorization backends can now raise PermissionDenied in has_perm() and has_module_perms() to short-circuit permission checking. PasswordResetForm now has a method send_mail() that can be overridden to customize0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.1.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 1.11.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.11.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 2.1.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.2.x Documentationthrough every layer (in reverse order) on the way back out. If one of the layers decides to short-circuit and return a response without ever calling its get_response, none of the layers of the onion inside one handler can be a “filter” for other handlers. Return None from receive_data_chunk to short-circuit remaining upload handlers from getting this chunk. This is useful if you’re storing the uploaded in the template context. The template system uses the first lookup type that works. It’s short-circuit logic. Here are a few examples: >>> from django.template import Context, Template >>> t = Template("My0 码力 | 2915 页 | 2.83 MB | 1 年前3
共 30 条
- 1
- 2
- 3













