Results of 121 - 130 of about 177 for models (0.040 sec.)
- Generic display ビュー — Django 4.0.6 ドキュメント 4749
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ews.generic.detail import DetailView from articles.models import Article class ArticleDetailView ( DetailVie ...
o.views.generic.list import ListView from articles.models import Article class ArticleListView ( ListView ): ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-display.html
- [similar]
- 検索 — Django 4.0.6 ドキュメント 4749
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
earch solutions. To use them with data from Django models, you'll need a layer which translates your data in ...
o filter on a combination of fields and on related models: >>> Entry . objects . annotate ( ... search = Sea ...
-
https://man.plustar.jp/django/topics/db/search.html
- [similar]
- Django を使う — Django 4.0.6 ドキュメント 4749
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
レーションを追加する Reversing migrations Historical models モデルのフィールドを削除するときに考えるべきこと デ ...
ージョンをサポートする ファイルの管理 Using files in models File オブジェクト File storage Django におけるテス ...
-
https://man.plustar.jp/django/topics/index.html
- [similar]
- 高度なチュートリアル: 再利用可能アプリの書き方 — Django 4.0.6 ドキュメント 4715
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
は一般的な Django の慣例に則っているでしょう。例えば models 、 tests 、 urls 、 views のサブモジュールがあるこ ...
. py migrations / __init__ . py 0001 _initial . py models . py static / polls / images / background . gif st ...
n ``python manage.py migrate`` to create the polls models. 4. Start the development server and visit http:// ...
-
https://man.plustar.jp/django/intro/reusable-apps.html
- [similar]
- The sitemap framework — Django 4.0.6 ドキュメント 4715
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
m django.contrib.sitemaps import Sitemap from blog.models import Entry class BlogSitemap ( Sitemap ): change ...
ort sitemap from django.urls import path from blog.models import Entry info_dict = { 'queryset' : Entry . ob ...
.contrib.sitemaps import ping_google class Entry ( models . Model ): # ... def save ( self , force_insert = ...
-
https://man.plustar.jp/django/ref/contrib/sitemaps.html
- [similar]
- データベース — Django 4.0.6 ドキュメント 4715
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
onflict. For example: >>> from django.contrib.auth.models import User >>> User . objects . create ( username ...
able names when it auto-generates table names from models, so this is mainly a consideration if you are over ...
me as the value for db_table : class LegacyModel ( models . Model ): class Meta : db_table = '"name_left_in_ ...
lowercase"' class ForeignModel ( models . Model ): class Meta : db_table = '"OTHER_USER"." ...
-
https://man.plustar.jp/django/ref/databases.html
- [similar]
- Django 2.2.11 release notes — Django 4.0.6 ドキュメント 4715
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
テーブルの継承 in the of argument, the corresponding models were not locked ( #31246 ). 目次 Django 2.2.11 rel ...
-
https://man.plustar.jp/django/releases/2.2.11.html
- [similar]
- Django 3.0.2 リリースノート — Django 4.0.6 ドキュメント 4715
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
n in Django 3.0 where loading fixtures crashed for models defining a default for the primary key ( #31071 ). ...
-
https://man.plustar.jp/django/releases/3.0.2.html
- [similar]
- セッションの使いかた — Django 4.0.6 ドキュメント 4715
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
は、Django はセッションを、( django.contrib.sessions.models.Session モデルを用いて) データベースに保存します。 ...
ession model is defined in django/contrib/sessions/models.py . Because it's a normal model, you can access s ...
ngo database API: >>> from django.contrib.sessions.models import Session >>> s = Session . objects . get ( p ...
n import AbstractBaseSession from django.db import models class CustomSession ( AbstractBaseSession ): accou ...
-
https://man.plustar.jp/django/topics/http/sessions.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 4693
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ist or tuple of tags, e.g. [Tags.staticfiles, Tags.models]. System checks registered in the chosen tags will ...
'__all__'. To validate an individual application's models rather than all applications' models, call ``self. ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]