検索

phrase: max: clip:
target: order:
Results of 111 - 120 of about 231 for import (0.105 sec.)
フォームとフィールドの検証 — Django 4.0.6 ドキュメント 4925
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ve a look at Django's SlugField : from django.core import validators from django.forms import CharField clas ... 。クラスの全体像は以下のようになります: from django import forms from django.core.validators import validate_ ... 作するクリーニングメソッドを記述します: from django import forms from django.core.exceptions import Validatio ... ionError を発生させてください。例えば: from django import forms from django.core.exceptions import Validatio ...
https://man.plustar.jp/django/ref/forms/validation.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 4925
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... c attribute to False . For example: from django.db import migrations class Migration ( migrations . Migratio ... ョンファイルは、次のような形式です。 from django.db import migrations , models class Migration ( migrations . ... to use these historical model versions rather than importing them directly. 警告 If you import models direct ... on to use the historical models rather than direct imports and commit those changes. Because it's impossible ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
How to create PDF files — Django 4.0.6 ドキュメント 4894
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... -m pip install reportlab Test your installation by importing it in the Python interactive interpreter: >>> i ... file-like objects. Here's a "Hello World" example: import io from django.http import FileResponse from repor ... tlab.pdfgen import canvas def some_view ( request ): # Create a file- ... in this case, p ) -- not on buffer . Finally, it's important to call showPage() and save() on the PDF file. ...
https://man.plustar.jp/django/howto/outputting-pdf.html - [similar]
はじめての Django アプリ作成、その 1 — Django 4.0.6 ドキュメント 4894
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ージです。この名前が Python パッケージの名前であり、 import の際に 使用する名前です (例えば import mysite.urls ... を書いてください: polls/views.py ¶ from django.http import HttpResponse def index ( request ): return HttpRes ... ドを書いてください: polls/urls.py ¶ from django.urls import path from . import views urlpatterns = [ path ( '' ... ることです。 mysite/urls.py に django.urls.include のimportを追加して、 urlpatterns のリストに include() を挿入 ...
https://man.plustar.jp/django/intro/tutorial01.html - [similar]
クリックジャッキング対策 — Django 4.0.6 ドキュメント 4894
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ドルウェアに指示することができます: from django.http import HttpResponse from django.views.decorators.clickjac ... king import xframe_options_exempt @xframe_options_exempt def o ... のようなデコレータを提供しています: from django.http import HttpResponse from django.views.decorators.clickjac ... king import xframe_options_deny from django.views.decorators.c ...
https://man.plustar.jp/django/ref/clickjacking.html - [similar]
django.contrib.sites.middleware — Django 4.0.6 ドキュメント 4853
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eware のソースコード from django.utils.deprecation import MiddlewareMixin from .shortcuts import get_current ...
https://man.plustar.jp/django/_modules/django/contrib/sites/middleware.html - [similar]
django.core.files.base — Django 4.0.6 ドキュメント 4853
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Modules up django.core.files.base のソースコード import os from io import BytesIO , StringIO , Unsupported ... Operation from django.core.files.utils import FileProxyMixin from django.utils.functional import ...
https://man.plustar.jp/django/_modules/django/core/files/base.html - [similar]
django.dispatch.dispatcher — Django 4.0.6 ドキュメント 4853
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... dules up django.dispatch.dispatcher のソースコード import logging import threading import weakref from djang ... o.utils.inspect import func_accepts_kwargs logger = logging . getLogger ( ... it may be anything hashable. """ from django.conf import settings # If DEBUG is on, check that we got a goo ...
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html - [similar]
How to manage error reporting — Django 4.0.6 ドキュメント 4853
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... compiled regular expression objects. For example: import re IGNORABLE_404_URLS = [ re . compile ( r '\.(php ... nal URLs that browsers and crawlers often request: import re IGNORABLE_404_URLS = [ re . compile ( r '^/appl ... bles decorator: from django.views.decorators.debug import sensitive_variables @sensitive_variables ( 'user' ... ters decorator: from django.views.decorators.debug import sensitive_post_parameters @sensitive_post_paramete ...
https://man.plustar.jp/django/howto/error-reporting.html - [similar]
Django 1.10 リリースノート — Django 4.0.6 ドキュメント 4853
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... クビュー (generic view) ¶ The View class can now be imported from django.views . 国際化 (internationalization ... changing usernames: from django.contrib.auth.forms import UserCreationForm class MyUserCreationForm ( UserCr ... m to use this form: from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.aut ... h.models import User class UserAdmin ( BaseUserAdmin ): add_form = ...
https://man.plustar.jp/django/releases/1.10.html - [similar]