Results of 21 - 27 of about 27 for Article (0.064 sec.)
- The syndication feed framework — Django 4.0.6 ドキュメント 7093
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
d subclass. For example: from mysite.models import Article from django.contrib.syndication.views import Feed ...
class ArticlesFeed ( Feed ): title = "My articles" description_t ...
emplate = "feeds/articles.html" def items ( self ): return Article . object ...
-
https://man.plustar.jp/django/ref/contrib/syndication.html
- [similar]
- モデルフィールドリファレンス — Django 4.0.6 ドキュメント 7093
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
h related_query_name class Tag ( models . Model ): article = models . ForeignKey ( Article , on_delete = mode ...
255 ) # That's now the name of the reverse filter Article . objects . filter ( tag__name = "important" ) Lik ...
-
https://man.plustar.jp/django/ref/models/fields.html
- [similar]
- Database Functions — Django 4.0.6 ドキュメント 7060
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
>>> from django.db.models.functions import Now >>> Article . objects . filter ( published__lte = Now ()) <Que ...
rySet [<Article: How to Django>]> PostgreSQL considerations On Pos ...
-
https://man.plustar.jp/django/ref/models/database-functions.html
- [similar]
- データベースのトランザクション — Django 4.0.6 ドキュメント 7027
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
action peculiarities are outside the scope of this article, but the MySQL site has information on MySQL trans ...
-
https://man.plustar.jp/django/topics/db/transactions.html
- [similar]
- 翻訳 — Django 4.0.6 ドキュメント 7027
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
があります。例えば: {% blocktranslate with amount = article.price %} That will cost $ {{ amount }} . {% endblo ...
e complex example: {% blocktranslate with amount = article.price count years = i.length %} That will cost $ { ...
-
https://man.plustar.jp/django/topics/i18n/translation.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 6994
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ribed in Interaction with order_by() . 実装例: p = Article . objects . order_by ( 'title' , 'pub_date' ) . fi ...
mple is equivalent to the above example: try : p = Article . objects . order_by ( 'title' , 'pub_date' )[ 0 ] ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 6994
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
import settings from django.db import models class Article ( models . Model ): author = models . ForeignKey ( ...
-
https://man.plustar.jp/django/topics/auth/customizing.html
- [similar]