検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 27 for Person (0.042 sec.)
The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 7949
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ntext , Template >>> t = Template ( "My name is {{ person.first_name }}." ) >>> d = { "person" : { "first_na ... ender ( Context ( d )) "My name is Joe." >>> class PersonClass : pass >>> p = PersonClass () >>> p . first_n ... . last_name = "Nasty" >>> t . render ( Context ({ "person" : p })) "My name is Ron." >>> t = Template ( "The ... ate system will try calling it. Example: >>> class PersonClass2 : ... def name ( self ): ... return "Samanth ...
https://man.plustar.jp/django/ref/templates/api.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 7949
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... es ( apps , schema_editor ): # We can't import the Person model directly as it may be a newer # version than ... migration expects. We use the historical version. Person = apps . get_model ( 'yourappname' , 'Person' ) fo ... r person in Person . objects . all (): person . name = ' %s ... %s ' % ( person . first_name , person . last_name ) person . save ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 7899
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ollowing model: from django.db import models class Person ( models . Model ): friends = models . ManyToManyF ... Field on itself, and as a result, it doesn't add a person_set attribute to the Person class. Instead, the Ma ... llowing models: from django.db import models class Person ( models . Model ): name = models . CharField ( ma ... ength = 128 ) members = models . ManyToManyField ( Person , through = 'Membership' , through_fields = ( 'gro ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 7784
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... randomly allocated to a replica database >>> dna = Person . objects . get ( name = 'Douglas Adams' ) >>> # A ... sequences. Consider the following example: >>> p = Person ( name = 'Fred' ) >>> p . save ( using = 'first' ) ... = 'second' ) # (statement 2) In statement 1, a new Person object is saved to the first database. At this tim ... g any loss of data on the second database: >>> p = Person ( name = 'Fred' ) >>> p . save ( using = 'first' ) ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
django.utils.text — Django 4.0.6 ドキュメント 7669
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ring_literal()). >>> list(smart_split(r'This is "a person\'s" test.')) ['This', 'is', '"a person\\\'s"', 'te ... st.'] >>> list(smart_split(r"Another 'person\'s' test.")) ['Another', "'person\\'s'", 'test.'] ...
https://man.plustar.jp/django/_modules/django/utils/text.html - [similar]
Unicode data — Django 4.0.6 ドキュメント 7439
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lication developer). It's under the control of the person installing and using your application -- and if th ... at person chooses a different setting, your code must still ... iri_to_uri def get_absolute_url ( self ): url = '/person/ %s /?x=0&y=0' % quote ( self . location ) return ...
https://man.plustar.jp/django/ref/unicode.html - [similar]
Model クラスのリファレンス — Django 4.0.6 ドキュメント 7208
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lowing example: from django.db import models class Person ( models . Model ): # Add manager with another nam ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
Triaging tickets — Django 4.0.6 ドキュメント 7159
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ewed by any member of the community other than the person who supplied the patch and found to meet all the r ... eel differently from the rationale provided by the person who closed the ticket. Other times, a mailing list ...
https://man.plustar.jp/django/internals/contributing/triaging-tickets.html - [similar]
Writing documentation — Django 4.0.6 ドキュメント 7159
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... When using pronouns in reference to a hypothetical person, such as "a user with a session cookie", gender ne ... Author(first_name, last_name, middle_name=None) A person who writes books. ``first_name`` is ... ... ``midd ...
https://man.plustar.jp/django/internals/contributing/writing-documentation.html - [similar]
How to integrate Django with a legacy database — Django 4.0.6 ドキュメント 7093
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... able's creation, modification, and deletion: class Person ( models.Model ) : id = models.IntegerField ( prim ... 0 ) class Meta: managed = False db_table = 'CENSUS_PERSONS' If you do want to allow Django to manage the tab ...
https://man.plustar.jp/django/howto/legacy-databases.html - [similar]
PREV 1 2 3 NEXT