Results of 21 - 30 of about 231 for import (0.057 sec.)
- Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 6724
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
look like this: from django.contrib.auth.backends import BaseBackend class MyBackend ( BaseBackend ): def a ...
クンでも表せます: from django.contrib.auth.backends import BaseBackend class MyBackend ( BaseBackend ): def a ...
クトを作成するバックエンドの例です: from django.conf import settings from django.contrib.auth.backends import ...
BaseBackend from django.contrib.auth.hashers import check_password from django.contrib.auth.models imp ...
-
https://man.plustar.jp/django/topics/auth/customizing.html
- [similar]
- django.core.mail.message — Django 4.0.6 ドキュメント 6693
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Modules up django.core.mail.message のソースコード import mimetypes from email import charset as Charset fro ...
m email import encoders as Encoders from email import generator , ...
message_from_string from email.errors import HeaderParseError from email.header import Header f ...
rom email.headerregistry import Address , parser from email.message import Message ...
-
https://man.plustar.jp/django/_modules/django/core/mail/message.html
- [similar]
- Django 1.4 documentation 6693
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
で生成され、コードを作 成する必要はありません: .. # Import the models we created from our "news" app # "news" ...
アプリで作成したモデルを import します。 >>> from news.models import Reporter , Ar ...
rticle. # Article を作成します。 >>> from datetime import datetime >>> a = Article ( pub_date = datetime . n ...
models.py には以下のように書きます from django.db import models class Article ( models . Model ): pub_date ...
-
https://man.plustar.jp/django/contents.html
- [similar]
- PostgreSQL specific database constraints — Django 4.0.6 ドキュメント 6580
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
example: from django.contrib.postgres.constraints import ExclusionConstraint from django.contrib.postgres.f ...
ields import RangeOperators from django.db.models import Deferr ...
account: from django.contrib.postgres.constraints import ExclusionConstraint from django.contrib.postgres.f ...
ields import DateTimeRangeField , RangeOperators from django.db ...
-
https://man.plustar.jp/django/ref/contrib/postgres/constraints.html
- [similar]
- クラスベースビュー入門 — Django 4.0.6 ドキュメント 6477
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
るコードが次のようになるとすると、 from django.http import HttpResponse def my_view ( request ): if request . ...
のビューでは以下のようになります。 from django.http import HttpResponse from django.views import View class M ...
クエストをリレーします。 # urls.py from django.urls import path from myapp.views import MyView urlpatterns = ...
という属性を持っていたとすると、 from django.http import HttpResponse from django.views import View class G ...
-
https://man.plustar.jp/django/topics/class-based-views/intro.html
- [similar]
- Unit tests — Django 4.0.6 ドキュメント 6436
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s. To run the unit tests and other checks (such as import sorting , the documentation spelling checker , and ...
temporary Apps instance: from django.apps.registry import Apps from django.db import models from django.test ...
import SimpleTestCase class TestModelDefinition ( SimpleT ...
s() decorator. It's used like this: from django.db import models from django.test import SimpleTestCase from ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]
- The sitemap framework — Django 4.0.6 ドキュメント 6436
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
indexers how frequently your pages change and how "important" certain pages are in relation to other pages o ...
your URLconf : from django.contrib.sitemaps.views import sitemap path ( 'sitemap.xml' , sitemap , { 'sitema ...
/sitemap.xml . The name of the sitemap file is not important, but the location is. Search engines will only ...
map class might look: from django.contrib.sitemaps import Sitemap from blog.models import Entry class BlogSi ...
-
https://man.plustar.jp/django/ref/contrib/sitemaps.html
- [similar]
- django.db.utils — Django 4.0.6 ドキュメント 6364
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Index | Modules up django.db.utils のソースコード import pkgutil from importlib import import_module from d ...
jango.conf import settings from django.core.exceptions import Improp ...
ity with Django < 3.2 from django.utils.connection import ConnectionDoesNotExist # NOQA: F401 from django.ut ...
ils.connection import BaseConnectionHandler from django.utils.functional ...
-
https://man.plustar.jp/django/_modules/django/db/utils.html
- [similar]
- django.core.signing — Django 4.0.6 ドキュメント 6261
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
':'. These functions make use of all of them. """ import base64 import datetime import json import time imp ...
ort zlib from django.conf import settings from django.utils.crypto import constant_ ...
e_compare , salted_hmac from django.utils.encoding import force_bytes from django.utils.module_loading impor ...
t import_string from django.utils.regex_helper import _lazy ...
-
https://man.plustar.jp/django/_modules/django/core/signing.html
- [similar]
- Base views — Django 4.0.6 ドキュメント 6261
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ed() options() Example views.py : from django.http import HttpResponse from django.views import View class M ...
ello, World!' ) Example urls.py : from django.urls import path from myapp.views import MyView urlpatterns = ...
Example views.py : from django.views.generic.base import TemplateView from articles.models import Article c ...
return context Example urls.py : from django.urls import path from myapp.views import HomePageView urlpatte ...
-
https://man.plustar.jp/django/ref/class-based-views/base.html
- [similar]