Django security releases issued: 4.0.2, 3.2.12, and 2.2.27

2022-01-31 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/feb/01/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: how to Display images other than from static folder.

2022-01-31 Thread ramsha azhar
yes, I set check the attached settings.py file just want to know In template page how I set the path od back directory folder where tree.png is placed. On Mon, Jan 31, 2022 at 8:55 PM DJANGO DEVELOPER wrote: > have you set up the static files in settings.py ? > > On Mon, Jan 31, 2022 at 8:49

Re: how to Display images other than from static folder.

2022-01-31 Thread DJANGO DEVELOPER
have you set up the static files in settings.py ? On Mon, Jan 31, 2022 at 8:49 PM ramsha azhar wrote: > I just want to display the attached Tree.png image on the HTML page but > this image is created each time new according to the user input file. guide > me how to set the path of this mage on

Re: how to Display images other than from static folder.

2022-01-31 Thread Ammar Mohammed
This topic solves your problem . https://djangocentral.com/managing-media-files-in-django/ Ammar Mohammed Tel: 0113075979 On 31 Jan 2022, 17:36 +0200, DJANGO DEVELOPER , wrote: > tell me what you want to get as a result? do you want to display multiple > images on HTML template? > > On Mon, Jan

Re: how to Display images other than from static folder.

2022-01-31 Thread Lunga Baliwe
i think you want to use MEDIA_URL, see https://learndjango.com/tutorials/django-file-and-image-uploads-tutorial and also check https://docs.djangoproject.com/en/3.2/topics/files/ static files are things like logos, css and maybe some javascript. On Mon, Jan 31, 2022 at 5:36 PM DJANGO DEVELOPER

Re: how to Display images other than from static folder.

2022-01-31 Thread DJANGO DEVELOPER
tell me what you want to get as a result? do you want to display multiple images on HTML template? On Mon, Jan 31, 2022 at 8:27 PM ramsha azhar wrote: > So guide me the write way ... > > On Mon, 31 Jan 2022, 7:45 pm DJANGO DEVELOPER, > wrote: > >> you are doing it the wrong way. totally the

Re: how to Display images other than from static folder.

2022-01-31 Thread ramsha azhar
So guide me the write way ... On Mon, 31 Jan 2022, 7:45 pm DJANGO DEVELOPER, wrote: > you are doing it the wrong way. totally the wrong way. I am not being rude. > > On Mon, Jan 31, 2022 at 7:42 PM ramsha azhar > wrote: > >> Gide me Django develpers. I just want to display my pictures that are

Re: how to Display images other than from static folder.

2022-01-31 Thread DJANGO DEVELOPER
you are doing it the wrong way. totally the wrong way. I am not being rude. On Mon, Jan 31, 2022 at 7:42 PM ramsha azhar wrote: > Gide me Django develpers. I just want to display my pictures that are > created each time new. > My mages are created in my project folder, not in the static folder.

how to Display images other than from static folder.

2022-01-31 Thread ramsha azhar
Gide me Django develpers. I just want to display my pictures that are created each time new. My mages are created in my project folder, not in the static folder. how I display images on the HTML page by using the path of my project folder. views.py def Image_display(request): BASE_DIR =

Secure web app locally

2022-01-31 Thread SAHRAOUI KHALED IBN EL WALID
Hello In our company I work with, we started developping an app for manage our company, and we affraid our database will stollen, I have a question, is there any way to secure our locall web app ? have any idea how to secure our Django project, and databases ? Is there any way to start

TypeError: 'module' object is not iterable - django 4

2022-01-31 Thread muwaga micheal
Hi Team, I am getting the above error, it has persisted long enough than at this point i really need help. I am using pickle to load an ML model, POST to get user input. Below is the error, my urls.py file and the views.py file. Any Help will be highly appreciated. *** Error Message