Created
August 19, 2022 18:23
-
-
Save mgax/32318118a71ce602a00a80daeecb60fc to your computer and use it in GitHub Desktop.
tuples.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
django:% ag '\w+ = \(' django/contrib/*/models* docs --ignore docs/releases | |
django/contrib/admin/models.py | |
17:ACTION_FLAG_CHOICES = ( | |
django/contrib/contenttypes/models.py | |
32: key = (opts.app_label, opts.model_name) | |
132: key = (ct.app_label, ct.model) | |
django/contrib/sites/models.py | |
17: checks = ((s in value) for s in string.whitespace) | |
docs/ref/forms/fields.txt | |
1146: fields = ( | |
docs/ref/models/instances.txt | |
836: SHIRT_SIZES = ( | |
docs/ref/contrib/flatpages.txt | |
188: fieldsets = ( | |
docs/ref/contrib/admin/filters.txt | |
36: list_filter = ('is_staff', 'company') | |
42: list_filter = ('company__name',) | |
98: list_filter = (DecadeBornListFilter,) | |
147: list_filter = ( | |
162: list_filter = ( | |
175: list_filter = ( | |
docs/ref/contrib/syndication.txt | |
559: categories = ("python", "django") # Hard-coded list of categories. | |
607: items = ('Item 1', 'Item 2') # Hard-coded items. | |
873: item_categories = ("python", "django") # Hard-coded categories. | |
docs/ref/settings.txt | |
2217: NUMBER_GROUPING = (3, 2, 0) | |
2429: SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') | |
docs/ref/contrib/gis/testing.txt | |
32: POSTGIS_VERSION = (X, Y, Z) | |
docs/ref/contrib/gis/geos.txt | |
762: >>> ext_coords = ((0, 0), (0, 1), (1, 1), (1, 0), (0, 0)) | |
763: >>> int_coords = ((0.4, 0.4), (0.4, 0.6), (0.6, 0.6), (0.6, 0.4), (0.4, 0.4)) | |
docs/ref/contrib/gis/gdal.txt | |
223: >>> ks_extent = (-102.051, 36.99, -94.59, 40.00) # Extent for state of Kansas | |
docs/ref/models/querysets.txt | |
2310: objs = (Entry(headline='Test %s' % i) for i in range(1000)) | |
docs/ref/contrib/admin/index.txt | |
252: list_display = ('name', 'title', 'view_birth_date') | |
279: fields = ('name', 'title') | |
282: exclude = ('birth_date',) | |
297: fields = ('url', 'title', 'content') | |
317: fields = (('url', 'title'), 'content') | |
349: fieldsets = ( | |
543: list_display = ('first_name', 'last_name') | |
555: list_display = ('first_name', 'last_name') | |
564: list_display = (upper_case_name,) | |
570: list_display = ('upper_case_name',) | |
591: list_display = ('name', 'decade_born_in') | |
633: list_display = ('first_name', 'last_name', 'colored_name') | |
657: list_display = ('name', 'birth_date_view') | |
681: list_display = ('name', 'born_in_fifties') | |
686: list_display = ('__str__', 'some_other_field') | |
714: list_display = ('first_name', 'colored_first_name') | |
734: list_display = ('title', 'author', 'author_first_name') | |
769: list_display = ('full_name',) | |
822: list_display = ('first_name', 'last_name', 'birthday') | |
823: list_display_links = ('first_name', 'last_name') | |
828: list_display = ('timestamp', 'message') | |
895: list_select_related = ('author', 'category') | |
1048: raw_id_fields = ("newspaper",) | |
1084: readonly_fields = ('address_report',) | |
1400: list_display = ('name', 'age') | |
1401: search_fields = ('name',) | |
1546: inlines = (MyInline,) | |
2068: js = ("my_code.js",) | |
2286: raw_id_fields = ("pages",) | |
2454: exclude = ('members',) | |
2521: inlines = (MembershipInline,) | |
2524: inlines = (MembershipInline,) | |
docs/intro/tutorial07.txt | |
207: list_display = ('question_text', 'pub_date') | |
217: list_display = ('question_text', 'pub_date', 'was_published_recently') | |
docs/conf.py | |
394:epub_cover = ("", "epub-cover.html") | |
397:# epub_guide = () | |
docs/_ext/djangodocs.py | |
396: msg = ( | |
docs/internals/howto-release-django.txt | |
400: ``VERSION = (1, 5, 2, 'alpha', 0)``. | |
docs/howto/outputting-csv.txt | |
88: rows = (["Row {}".format(idx), str(idx)] for idx in range(65536)) | |
121: csv_data = ( | |
docs/topics/forms/media.txt | |
61: js = ('animations.js', 'actions.js') | |
149: ... js = ('whizbang.js',) | |
169: ... js = ('whizbang.js',) | |
235: ... js = ('animations.js', 'http://othersite.com/actions.js') | |
280: ... js = (JSPath(),) | |
324: ... js = ('animations.js', 'actions.js') | |
328: ... js = ('whizbang.js',) | |
353: ... js = ('jQuery.js', 'calendar.js', 'noConflict.js') | |
356: ... js = ('jQuery.js', 'time.js', 'noConflict.js') | |
docs/topics/forms/modelforms.txt | |
517: fields = ('name', 'title', 'birth_date') | |
538: fields = ('name', 'title', 'birth_date') | |
672: ... localized_fields = ('birth_date',) | |
697: ... exclude = ('body',) | |
857: fields = ('name', 'title') | |
docs/topics/email.txt | |
104: message1 = ('Subject here', 'Here is the message', 'from@example.com', ['first@example.com', 'other@example.com']) | |
105: message2 = ('Another Subject', 'Here is another message', 'from@example.com', ['second@test.com']) | |
166: datatuple = ( | |
docs/topics/auth/default.txt | |
784: permission_required = ('polls.view_choice', 'polls.change_choice') | |
docs/topics/auth/customizing.txt | |
154: login_valid = (settings.ADMIN_LOGIN == username) | |
352: inlines = (EmployeeInline,) | |
1108: fields = ('email', 'date_of_birth') | |
1136: fields = ('email', 'password', 'date_of_birth', 'is_active', 'is_admin') | |
1147: list_display = ('email', 'date_of_birth', 'is_admin') | |
1148: list_filter = ('is_admin',) | |
1149: fieldsets = ( | |
1156: add_fieldsets = ( | |
1162: search_fields = ('email',) | |
1163: ordering = ('email',) | |
1164: filter_horizontal = () | |
docs/topics/http/urls.txt | |
877: polls_patterns = ([ | |
docs/topics/db/models.txt | |
184: SHIRT_SIZES = ( | |
docs/topics/i18n/translation.txt | |
1332: news_patterns = ([ | |
1402: news_patterns = ([ | |
1751: self.xgettext_options = ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment