René's URL Explorer Experiment


Title: Django admin: cannot render VectorField as readonly · Issue #99 · pgvector/pgvector-python · GitHub

Open Graph Title: Django admin: cannot render VectorField as readonly · Issue #99 · pgvector/pgvector-python

X Title: Django admin: cannot render VectorField as readonly · Issue #99 · pgvector/pgvector-python

Description: Django version 5.1.2 pgvector==0.3.5 When setting a VectorField in the readonly_fields property of a ModelAdmin or when the user does not have change permissions (just view permission), the template renderer crashes with: The truth value...

Open Graph Description: Django version 5.1.2 pgvector==0.3.5 When setting a VectorField in the readonly_fields property of a ModelAdmin or when the user does not have change permissions (just view permission), the templat...

X Description: Django version 5.1.2 pgvector==0.3.5 When setting a VectorField in the readonly_fields property of a ModelAdmin or when the user does not have change permissions (just view permission), the templat...

Opengraph URL: https://github.com/pgvector/pgvector-python/issues/99

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Django admin: cannot render VectorField as readonly","articleBody":"Django version 5.1.2\r\npgvector==0.3.5\r\n\r\nWhen setting a VectorField in the readonly_fields property of a ModelAdmin or when the user does not have change permissions (just view permission), the template renderer crashes with:\r\n\r\n`The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()`\r\n\r\n![image](https://github.com/user-attachments/assets/1a88f3d6-7614-4151-a3b9-ca5a27bffef7)\r\n","author":{"url":"https://github.com/Hornobster","@type":"Person","name":"Hornobster"},"datePublished":"2024-10-29T15:10:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/99/pgvector-python/issues/99"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e230887c-58b8-45ef-b5cf-bb1e591a3c8b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE2F6:EF5D6:1BD773A:26EB8B5:6970E431
html-safe-noncee9d66086756bbcdb4d455eb59820ed7c1d46301dd06980a1dacec261d3e07bca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkY2OkVGNUQ2OjFCRDc3M0E6MjZFQjhCNTo2OTcwRTQzMSIsInZpc2l0b3JfaWQiOiI1OTc2ODY1MzczMjE3ODQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccdfbdda523e4a722f4a8bb23e814fe30b03eb4aa88352e47aa1c1c1c3141cac6
hovercard-subject-tagissue:2621552890
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pgvector/pgvector-python/99/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c69ffef5bed807eb6c8d0429347a9476943f0f8f1fb48f45c934c0bd2e756b5a/pgvector/pgvector-python/issues/99
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c69ffef5bed807eb6c8d0429347a9476943f0f8f1fb48f45c934c0bd2e756b5a/pgvector/pgvector-python/issues/99
og:image:altDjango version 5.1.2 pgvector==0.3.5 When setting a VectorField in the readonly_fields property of a ModelAdmin or when the user does not have change permissions (just view permission), the templat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameHornobster
hostnamegithub.com
expected-hostnamegithub.com
Nonea8b3a33ad16bd33428ccc7800d4ea7bfc6b4990584847afdcb92b020b61a949b
turbo-cache-controlno-preview
go-importgithub.com/pgvector/pgvector-python git https://github.com/pgvector/pgvector-python.git
octolytics-dimension-user_id98363230
octolytics-dimension-user_loginpgvector
octolytics-dimension-repository_id376300726
octolytics-dimension-repository_nwopgvector/pgvector-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id376300726
octolytics-dimension-repository_network_root_nwopgvector/pgvector-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb8a8c883a585a3dc6cb57fa8b7997b70c86a696c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues/99#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpgvector%2Fpgvector-python%2Fissues%2F99
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpgvector%2Fpgvector-python%2Fissues%2F99
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pgvector%2Fpgvector-python
Reloadhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues/99
Reloadhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues/99
Reloadhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues/99
pgvector https://patch-diff.githubusercontent.com/pgvector
pgvector-pythonhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpgvector%2Fpgvector-python
Fork 86 https://patch-diff.githubusercontent.com/login?return_to=%2Fpgvector%2Fpgvector-python
Star 1.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fpgvector%2Fpgvector-python
Code https://patch-diff.githubusercontent.com/pgvector/pgvector-python
Issues 2 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues
Pull requests 4 https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulls
Actions https://patch-diff.githubusercontent.com/pgvector/pgvector-python/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/pgvector/pgvector-python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues/99
Insights https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulse
Code https://patch-diff.githubusercontent.com/pgvector/pgvector-python
Issues https://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues
Pull requests https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulls
Actions https://patch-diff.githubusercontent.com/pgvector/pgvector-python/actions
Security https://patch-diff.githubusercontent.com/pgvector/pgvector-python/security
Insights https://patch-diff.githubusercontent.com/pgvector/pgvector-python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/pgvector/pgvector-python/issues/99
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/pgvector/pgvector-python/issues/99
Django admin: cannot render VectorField as readonlyhttps://patch-diff.githubusercontent.com/pgvector/pgvector-python/issues/99#top
https://github.com/Hornobster
https://github.com/Hornobster
Hornobsterhttps://github.com/Hornobster
on Oct 29, 2024https://github.com/pgvector/pgvector-python/issues/99#issue-2621552890
https://private-user-images.githubusercontent.com/7242906/381188455-1a88f3d6-7614-4151-a3b9-ca5a27bffef7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkwMDY0MjksIm5iZiI6MTc2OTAwNjEyOSwicGF0aCI6Ii83MjQyOTA2LzM4MTE4ODQ1NS0xYTg4ZjNkNi03NjE0LTQxNTEtYTNiOS1jYTVhMjdiZmZlZjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAxMjFUMTQzNTI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MzdjOTVkMDEyNTg2MGNkY2FmNjYxNDkyM2ZmNzc5ODJlOThkMTA5MDcxMGYwYjY3YzNmZWJkOTk4ZjM5OGQ2NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.2_KLeFZRTtkpUXZcyH3bLlsjBO9udz5mSknLJ0Ono_8
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.