検索

phrase: max: clip:
target: order:
Results of 81 - 90 of about 231 for import (0.092 sec.)
GeoDjango Utilities — Django 4.0.6 ドキュメント 5284
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ing geospatial web applications. LayerMapping data import utility カスタマイズ例 LayerMapping API トラブルシ ... ation with GeoIP2 次のトピックへ LayerMapping data import utility 関連キーワード Utilities , Geo , LayerMapp ... ing , up , import , utility , next , data , previous , トピック クイ ...
https://man.plustar.jp/django/ref/contrib/gis/utils.html - [similar]
Conditional Expressions — Django 4.0.6 ドキュメント 5284
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g model in the subsequent examples: from django.db import models class Client ( models . Model ): REGULAR = ... as added. Some examples: >>> from django.db.models import F , Q , When >>> # String arguments refer to field ... e field lookups in the condition >>> from datetime import date >>> When ( registered_on__gt = date ( 2014 , ... ing boolean expressions. >>> from django.db.models import Exists , OuterRef >>> non_unique_account_type = Cl ...
https://man.plustar.jp/django/ref/models/conditional-expressions.html - [similar]
How to authenticate against Django's user database from Apache — Django 4.0.6 ... 5212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... cation to your site's authentication mechanisms by importing the check_password function: import os os . env ... ettings' from django.contrib.auth.handlers.modwsgi import check_password from django.core.handlers.wsgi impo ... ective, the same WSGI script mysite.wsgi must also import the groups_for_user function which returns a list ... ongs to. from django.contrib.auth.handlers.modwsgi import check_password , groups_for_user Requests for /sec ...
https://man.plustar.jp/django/howto/deployment/wsgi/apache-auth.html - [similar]
django.urls utility functions — Django 4.0.6 ドキュメント 5212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . For example, given the following url : from news import views path ( 'archive/' , views . archive , name = ... an't reverse namespaced views this way.) from news import views reverse ( views . archive ) If the URL accep ... pass them in args . For example: from django.urls import reverse def myview ( request ): return HttpRespons ... error before redirecting to it: from urllib.parse import urlparse from django.urls import resolve from djan ...
https://man.plustar.jp/django/ref/urlresolvers.html - [similar]
Django 1.4.11 release notes — Django 4.0.6 ドキュメント 5212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o the desired view. In this situation, Django will import the module indicated by that dotted path as part o ... generating the resulting URL. If such a module has import-time side effects, those side effects will occur. ... own to an attacker to exist on the server's Python import path, which perform code execution with side effec ... ts on importing. To remedy this, reverse() will now only accept ...
https://man.plustar.jp/django/releases/1.4.11.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 5212
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ues with the previous manage.py handling of Python import paths that caused double imports, trouble moving f ... file should look like this: #!/usr/bin/env python import os , sys if __name__ == "__main__" : os . environ ... ct_name }}.settings" ) from django.core.management import execute_from_command_line execute_from_command_lin ... settings, URLconfs and apps within the project are imported or referenced using the project name prefix (e.g ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
django.core.files.images — Django 4.0.6 ドキュメント 5182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... images. Requires Pillow as you might imagine. """ import struct import zlib from django.core.files import F ... if it is initially in an open state. """ from PIL import ImageFile as PillowImageFile p = PillowImageFile . ...
https://man.plustar.jp/django/_modules/django/core/files/images.html - [similar]
contenttypes フレームワーク — Django 4.0.6 ドキュメント 5182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... des only the last part of the application's Python import path; django.contrib.contenttypes , for example, b ... model: >>> from django.contrib.contenttypes.models import ContentType >>> user_type = ContentType . objects ... this_type() and model_class() enable two extremely important use cases: Using these methods, you can write h ... forms queries on any installed model -- instead of importing and using a single specific model class, you ca ...
https://man.plustar.jp/django/ref/contrib/contenttypes.html - [similar]
Form fields — Django 4.0.6 ドキュメント 5182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eption or returns the clean value: >>> from django import forms >>> f = forms . EmailField () >>> f . clean ... raise a ValidationError exception: >>> from django import forms >>> f = forms . CharField () >>> f . clean ( ... め auto_id=False を指定しています。 >>> from django import forms >>> class CommentForm ( forms . Form ): ... ... o a particular value. For example: >>> from django import forms >>> class CommentForm ( forms . Form ): ... ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
Django 1.5.6 release notes — Django 4.0.6 ドキュメント 5182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o the desired view. In this situation, Django will import the module indicated by that dotted path as part o ... generating the resulting URL. If such a module has import-time side effects, those side effects will occur. ... own to an attacker to exist on the server's Python import path, which perform code execution with side effec ... ts on importing. To remedy this, reverse() will now only accept ...
https://man.plustar.jp/django/releases/1.5.6.html - [similar]