Trying to render images from database

2023-03-03 Thread Michael Starr
It's not working. class PetOwnerDetailView(DetailView): model = PetOwner context_object_name = "owner" template_name = "pet_owner_profile.html" def get_context_data(self, *args, **kwargs): context = super().get_context_data(**kwargs) context['pet_photos'] = {}

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
Well, my privilege of posting "" on SO was revoked so I can't get my questions answered anymore. So I guess I just won't be a developer now. Or the alternative, reinvent all code and the internet. The answer the dude gave me wasn't sufficient and he was like, "Accept the answer!" Devious prick.

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
this https://docs.djangoproject.com/en/4.1/topics/files/ seems useful, but isn't really for me. Mike On Tuesday, March 7, 2023 at 9:31:02 AM UTC-8 Michael Starr wrote: > Well, my privilege of posting "" on SO was revoked so I can't get my > questions answered anymore. So I guess I just won't be

Re: Trying to render images from database

2023-03-07 Thread Red Plant
What's showing on the browser console? If you're using chrome, press F12 to open developer tools, then find the console tab. On Wed, Mar 8, 2023, 1:31 AM Michael Starr wrote: > Well, my privilege of posting "" on SO was revoked so I can't get my > questions answered anymore. So I guess I just w

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
this.window.gBrowserInit is undefined ext-browser.js:1134 get activeTab chrome://browser/content/parent/ext-browser.js:1134 candidates chrome://extensions/content/parent/ext-tabs-base.js:2091 next self-hosted:1743 query chrome://extensions/content/parent/ext-tabs-base.js:2113 ne

Re: Trying to render images from database

2023-03-07 Thread Michael Starr
I am using FireFox. On Tuesday, March 7, 2023 at 2:11:38 PM UTC-8 Michael Starr wrote: > this.window.gBrowserInit is undefined ext-browser.js:1134 > get activeTab chrome://browser/content/parent/ext-browser.js:1134 > candidates chrome://extensions/content/parent/ext-tabs-base.js:2091 >

Re: Trying to render images from database

2023-03-10 Thread Michael Starr
I don't understand what you mean. There are no images. There's no img src except in code. I can't just right click on it because it's not there. And I know the src of the image, because I'm the one who coded it. Also it spits it out when I print the coded url. This was all in a previous post in