Django Q Documentation
Release 0.2.2Django Q Documentation Release 0.2.0 Ilan Steemers July 07, 2015 Contents 1 Features 3 1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 24 页 | 208.74 KB | 1 年前3
Django 5.1 Documentationlon_lat(query)[source] [https://github.com/django/django/blob/stable/5.1.x/django/contrib/gis/geoip2.py#L2 07] Returns a coordinate tuple of (longitude, latitude). GeoIP2.lat_lon(query)[source] [https://github UUIDCommentForm() >>> f.get_initial_for_field(f.fields["identifier"], "identifier") UUID('972ca9e4-7bfe-4f5b-af7d-07b3aa306334') >>> f.get_initial_for_field(f.fields["identifier"], "identifier") UUID('1b411fab-844e- into a Python datetime.date object. Regardless of whether you pass it a string in the format '1994-07-15', a datetime.date object, or a number of other formats, DateField will always normalize it to a0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationlon_lat(query)[source] [https://github.com/django/django/blob/stable/5.1.x/django/contrib/gis/geoip2.py#L2 07] Returns a coordinate tuple of (longitude, latitude). GeoIP2.lat_lon(query)[source] [https://github UUIDCommentForm() >>> f.get_initial_for_field(f.fields["identifier"], "identifier") UUID('972ca9e4-7bfe-4f5b-af7d-07b3aa306334') >>> f.get_initial_for_field(f.fields["identifier"], "identifier") UUID('1b411fab-844e- into a Python datetime.date object. Regardless of whether you pass it a string in the format '1994-07-15', a datetime.date object, or a number of other formats, DateField will always normalize it to a0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django Q Documentation
Release 0.7.18Django Q Documentation Release 0.7.18 Ilan Steemers January 07, 2017 Contents 1 Features 3 1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 56 页 | 418.08 KB | 1 年前3
Django Q Documentation
Release 0.7.16Django Q Documentation Release 0.7.15 Ilan Steemers March 07, 2016 Contents 1 Features 3 1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 56 页 | 416.69 KB | 1 年前3
Django 5.0.x DocumentationUUIDCommentForm() >>> f.get_initial_for_field(f.fields["identifier"], "identifier") UUID('972ca9e4-7bfe-4f5b-af7d-07b3aa306334') >>> f.get_initial_for_field(f.fields["identifier"], "identifier") UUID('1b411fab-844e- into a Python datetime.date object. Regardless of whether you pass it a string in the format '1994-07-15', a datetime.date object, or a number of other formats, DateField will always normalize it to a [https://datatracker.ietf.org/doc/html/rfc5322.html#section-3.3] formatted date. 'Thu, 21 Dec 2000 16:01:07 +0200' U Seconds since the Unix Epoch (January 1 1970 00:00:00 UTC). For example: {{ value|date:"D0 码力 | 3407 页 | 3.21 MB | 1 年前3
Django 官方教程翻译项目a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py 56. index 690f205..e07fae2 100644 57. --- a/tests/forms_tests/tests/test_forms.py 58. +++ b/tests/forms_tests/tests/test_forms0 码力 | 103 页 | 1.86 MB | 1 年前3
Django 1.11.x Documentation--git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index 690f205..e07fae2 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py pnt = GEOSGeometry(buffer('\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14@\x00\x00\x00\x00\x00\x0 07@')) >>> pnt = GEOSGeometry('{ "type": "Point", "coordinates": [ 5.000000, 23.000000 ] }') # GeoJSON into a Python datetime.date object. Regardless of whether you pass it a string in the format '1994-07-15', a datetime.date object, or a number of other formats, DateField will always normalize it to a0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x Documentation--git a/tests/forms_tests/tests/test_forms.py b/tests/forms_tests/tests/test_forms.py index 690f205..e07fae2 100644 --- a/tests/forms_tests/tests/test_forms.py +++ b/tests/forms_tests/tests/test_forms.py pnt = GEOSGeometry(buffer('\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14@\x00\x00\x00\x00\x00\x0 07@')) >>> pnt = GEOSGeometry('{ "type": "Point", "coordinates": [ 5.000000, 23.000000 ] }') # GeoJSON into a Python datetime.date object. Regardless of whether you pass it a string in the format '1994-07-15', a datetime.date object, or a number of other formats, DateField will always normalize it to a0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.1.x Documentationpnt = GEOSGeometry(buffer('\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14@\x00\x00\x00\x00\x00\x0 07@')) >>> pnt = GEOSGeometry('{ "type": "Point", "coordinates": [ 5.000000, 23.000000 ] }') # GeoJSON into a Python datetime.date object. Regardless of whether you pass it a string in the format '1994-07-15', a datetime.date object, or a number of other formats, DateField will always normalize it to a 2008-01-02T10:30:00.000123 if the datetime is naive r RFC 5322 formatted date. 'Thu, 21 Dec 2000 16:01:07 +0200' U Seconds since the Unix Epoch (January 1 1970 00:00:00 UTC). For example: {{ value|date:"D0 码力 | 2790 页 | 2.71 MB | 1 年前3
共 34 条
- 1
- 2
- 3
- 4













