Results of 21 - 30 of about 359 for from (0.065 sec.)
- The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 6106
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
This document explains the Django template system from a technical perspective -- how it works and how to ...
s. Each Loader class knows how to import templates from a particular source. Optionally, a tuple can be us ...
uiltins = [ 'myapp.builtins' ], ) Tags and filters from built-in libraries can be used without first calli ...
ne. get_default () ¶ Returns the underlying Engine from the first configured DjangoTemplates engine. Raise ...
-
https://man.plustar.jp/django/ref/templates/api.html
- [similar]
- クラスベースのビューでフォームを扱う — Django 4.0.6 ドキュメント 6106
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
基本的なフォーム ¶ Given a contact form: forms.py ¶ from django import forms class ContactForm ( forms . Fo ...
を使用することで構築することができます。 views.py ¶ from myapp.forms import ContactForm from django.views.g ...
solute_url() を追加する必要があります: models.py ¶ from django.db import models from django.urls import re ...
自分自身でロジックを書く必要はありません: views.py ¶ from django.urls import reverse_lazy from django.views. ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-editing.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 6070
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
changes you'll want to be aware of when upgrading from Django 1.3 or older versions. We've also dropped s ...
ject layout and manage.py that removes the "magic" from prior versions. And for those who don't like the n ...
backwards incompatible changes ; people upgrading from previous versions of Django should read that list ...
t paths that caused double imports, trouble moving from development to deployment, and other difficult-to- ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 6017
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
el classes they represent and for querying objects from those models. ContentType also has a custom manage ...
he application the model is part of. This is taken from the app_label attribute of the model, and includes ...
n-readable name of the content type. This is taken from the verbose_name attribute of the model. Let's loo ...
entType instance has methods that allow you to get from a ContentType instance to the model it represents, ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- 設定 — Django 4.0.6 ドキュメント 6017
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r or bookmarking a page and then loading that page from a browser cache. Without persistent cookies, the f ...
y allowing cross-subdomain requests to be excluded from the normal cross site request forgery protection. ...
ing such as ".example.com" to allow a POST request from a form on one subdomain to be accepted by a view s ...
erved from another subdomain. Please note that the presence o ...
-
https://man.plustar.jp/django/ref/settings.html
- [similar]
- Unicode data — Django 4.0.6 ドキュメント 6017
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
They also automatically convert strings retrieved from the database into strings. You don't even need to ...
ing back in the result. Translated strings ¶ Aside from strings and bytestrings, there's a third type of s ...
force_str() . This is slightly different semantics from Python's builtin str() function, but the differenc ...
that might be either a string or a bytestring, and from then on, you can treat the result as always being ...
-
https://man.plustar.jp/django/ref/unicode.html
- [similar]
- モデルフィールドリファレンス — Django 4.0.6 ドキュメント 5964
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
odels にインポートされています; 標準的な慣習では、 from django.db import models を使って、フィールドを mod ...
に適切に名前づけられた定数を定義するのがベストです: from django.db import models class Student ( models . M ...
u can subclass to define choices in a concise way: from django.utils.translation import gettext_lazy as _ ...
arInSchool . SENIOR , } These work similar to enum from Python's standard library, but with some modificat ...
-
https://man.plustar.jp/django/ref/models/fields.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 5910
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
port argparse import os import sys import warnings from argparse import ArgumentParser , HelpFormatter fro ...
m io import TextIOBase import django from django.core import checks from django.core.excepti ...
ons import ImproperlyConfigured from django.core.management.color import color_style , ...
no_style from django.db import DEFAULT_DB_ALIAS , connections fr ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]
- Django 1.3 release notes — Django 4.0.6 ドキュメント 5910
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
changes you'll want to be aware of when upgrading from Django 1.2 or older versions. オーバービュー ¶ Dja ...
't prevented a few fairly significant new features from landing, including: A framework for writing class- ...
go 1.2, Django supported any 2.x version of Python from 2.3 up. As of Django 1.2, the minimum requirement ...
is to make it easier to keep static files separate from user-uploaded files. Static assets should now go i ...
-
https://man.plustar.jp/django/releases/1.3.html
- [similar]
- Porting your apps from Django 0.96 to 1.0 — Django 4.0.6 ドキュメント 5883
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Modules « previous | up | next » Porting your apps from Django 0.96 to 1.0 ¶ Django 1.0 breaks compatibili ...
ode ( u'foo' ) in that method. Remove prepopulated_from ¶ Remove the prepopulated_from argument on model f ...
the admin. Remove core ¶ Remove the core argument from your model fields. It is no longer necessary, sinc ...
y ¶ Remove all your inner class Admin declarations from your models. They won't break anything if you leav ...
-
https://man.plustar.jp/django/releases/1.0-porting-guide.html
- [similar]