Results of 1 - 10 of about 10 for story (0.026 sec.)
- 多対一 (many-to-one) 関係 — Django 4.0.6 ドキュメント 13408
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. article_set . create ( headline = "John's second story" , pub_date = date ( 2005 , 7 , 29 )) >>> new_arti ...
cle <Article: John's second story> >>> new_article . reporter <Reporter: John Smith> ...
= Article . objects . create ( headline = "Paul's story" , pub_date = date ( 2006 , 1 , 17 ), reporter = r ...
le_set . all () <QuerySet [<Article: John's second story>, <Article: Paul's story>, <Article: This is a tes ...
-
https://man.plustar.jp/django/topics/db/examples/many_to_one.html
- [similar]
- テンプレート — Django 4.0.6 ドキュメント 11244
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
S' : [ '/home/html/jinja2' , ], }, ] get_template('story_detail.html') を呼び出した場合、Django は次の順番に ...
ファイルを探します。 /home/html/example.com/story_detail.html ( 'django' エンジン) /home/html/defaul ...
t/story_detail.html ( 'django' エンジン) /home/html/jinja2 ...
/story_detail.html ( 'jinja2' エンジン) select_template([ ...
-
https://man.plustar.jp/django/topics/templates.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 8742
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
d be to require site producers to publish the same story twice: once for LJWorld.com and again for Lawrence ...
t's redundant to store multiple copies of the same story in the database. A better solution removes the con ...
le interface (the Django admin). It means the same story doesn't have to be published twice in the database ...
or both sites. The view code that displays a given story checks to make sure the requested story is on the ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- The Django Template Language — Django 4.0.6 ドキュメント 8402
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ntent %} < h1 > {{ section.title }} </ h1 > {% for story in story_list %} < h2 > < a href = " {{ story.get_ ...
absolute_url }} " > {{ story.headline | upper }} </ a > </ h2 > < p > {{ story. ...
-
https://man.plustar.jp/django/ref/templates/language.html
- [similar]
- Lookup API reference — Django 4.0.6 ドキュメント 8009
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
annotations: Book . objects . annotate ( is_short_story = LessThan ( F ( 'word_count' ), 7500 )) lhs ¶ The ...
-
https://man.plustar.jp/django/ref/models/lookups.html
- [similar]
- Admin actions — Django 4.0.6 ドキュメント 7955
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
) self . message_user ( request , ngettext ( ' %d story was successfully marked as published.' , ' %d stor ...
-
https://man.plustar.jp/django/ref/contrib/admin/actions.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 7955
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ire it: The admin application uses it to log the history of each object added or changed through the admin ...
epts like "can add blog entry" or "can delete news story". The ContentTypeManager ¶ class ContentTypeManage ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 7866
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ight do something like this: # Tintin filed a news story! reporter = Reporters . objects . get ( name = 'Ti ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- Django's cache framework — Django 4.0.6 ドキュメント 7866
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e Order of MIDDLEWARE below if you'd like the full story. Then, add the following required settings to your ...
-
https://man.plustar.jp/django/topics/cache.html
- [similar]
- 設定 — Django 4.0.6 ドキュメント 7812
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
og' : lambda o : "/blogs/ %s /" % o . slug , 'news.story' : lambda o : "/stories/ %s / %s /" % ( o . pub_ye ...
-
https://man.plustar.jp/django/ref/settings.html
- [similar]
PREV
1
NEXT