Is your module included in your installed apps in the settings.py file?
On Fri, Oct 1, 2021 at 8:09 PM Sophia Iroegbu wrote:
>
> I noticed that each time I download a python package and import it.
> It imports, it works but once I run my code it runs into an error.
>
> Error message: ModuleNotFou
David I realise I didn't answer your question.I will review everything but the
coincidence would be startling.
https://xxx.xxx/admin/chemical/chemical/29/img/icon-yes.svg/changeIf you
remove /img/icon-yes.svg from the above url it would be exactly correct for
redisplaying the page.I'll dig
DavidThank you for responding. That part of the code is - I think - beyond my
control. It occurs after saving a record and during display of the success
message in the admin change form.That particular svg is the image which gets
included in the success message.The same code works perfectly - or
I noticed that each time I download a python package and import it.
It imports, it works but once I run my code it runs into an error.
Error message: ModuleNotFoundError.
What do I do?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubs
Hi, I want to learn django very well but tutorials like youtube videos,
books and pay for online courses are not really satisfying me that much .
So if I decide to learn django directly from the documentation will I learn
good enough to Intermediate and Advance level ? if yes please help me wit
I have some doubt the admin css is related. The css file should provide a
path to the image file, relative to its own location in this case - both
the css and svg file will be served via whatever is handling your static
files (usually an external like nginx etc if in production mode, else by
your
In the error message below that "icon-yes.svg" is named in
django/contrib/admin/static/admin/css/base.css
ul.messagelist li {
display: block;
font-weight: 400;
font-size: 13px;
padding: 10px 10px 10px 65px;
margin: 0 0 10px 0;
background: var(--message-success-bg) url(../
7 matches
Mail list logo