Re: can anyone help me

2020-08-29 Thread MUGOYA DIHFAHSIH
On your imagefield you forgot to add upload_to="folder_inside_your_media_folder" On Sat, Aug 29, 2020, 19:48 allaberdi...@gmail.com < allaberdi16yazha...@gmail.com> wrote: > I can upload images from django admin panel but cannot to do same thing > with django form , it saves any text but did

Re: MultiValueDictKeyError

2020-08-29 Thread Kunal Solanke
If you are using fetch try printing out request.body You may have to json parse this body if it exists . On Sun, Aug 30, 2020, 01:14 Varun Kumar wrote: > > https://stackoverflow.com/questions/5895588/django-multivaluedictkeyerror-error-how-do-i-deal-with-it > > > Refer to the above webpage.

Re: Page 3

2020-08-29 Thread Kunal Solanke
And yes plz don't ever paste code like this .Either use pastebin or take screen shots of pc not by phone. On Sun, Aug 30, 2020, 08:32 Kunal Solanke wrote: > he is saying about the ")" read what you wrote slowly... > > On Sun, Aug 30, 2020, 03:06 rbarh...@gmail.com > wrote: > >> In the

Re: Page 3

2020-08-29 Thread Kunal Solanke
he is saying about the ")" read what you wrote slowly... On Sun, Aug 30, 2020, 03:06 rbarh...@gmail.com wrote: > In the above problem example, this statement does not seem to work: > ``` > from django.urls import path > ``` > why not > > On Saturday, August 29, 2020 at 2:29:51 PM UTC-7

Re: Production deployments and Version Control for DJango projects

2020-08-29 Thread Ram
Hi, After some review we decided to go with Jenkins for continuous integration and deployment. Our development server was deployed on Ubuntu 18.x with Postgres DB and Python 3 virtual environment, DJango and GIT. Now we are planning to setup Jenkins server on the same dev. server so that we

Re: Filtering ChoiceField by Multiple id's and same value ('name')

2020-08-29 Thread Yvonne Calhoun Pasquali
Correction: ModelChoiceFields are ChoiceFields. I was going to use ModelChoiceFields, but am unsure whether it is better to use querysets rather than ChoiceFields. On Saturday, August 29, 2020 at 7:43:47 PM UTC-6 Yvonne Calhoun Pasquali wrote: > Hello, > > I have a form with three fields (1

Filtering ChoiceField by Multiple id's and same value ('name')

2020-08-29 Thread Yvonne Calhoun Pasquali
Hello, I have a form with three fields (1 Choicefield and 2 ModelChoicefields): The Choicefield displays names of objects by id's. However, in my db, I have multiple objects with the same name. I am trying to filter these objects by "species" and "gender" (the two ModelChoiceFields). I

Re: Page 3

2020-08-29 Thread rbarh...@gmail.com
In the above problem example, this statement does not seem to work: ``` from django.urls import path ``` why not On Saturday, August 29, 2020 at 2:29:51 PM UTC-7 rbarh...@gmail.com wrote: > Hmm. I don't understand what you are saying. > > On Friday, August 28, 2020 at 6:56:25 PM UTC-7

Re: Page 3

2020-08-29 Thread rbarh...@gmail.com
Hmm. I don't understand what you are saying. On Friday, August 28, 2020 at 6:56:25 PM UTC-7 bharath...@gmail.com wrote: > Hi, > > You are closing the para thesis before. > path('/results/', views.results, name='results'), > This is the correct syntax. All the best  > > On Sat, 29

Re: MultiValueDictKeyError

2020-08-29 Thread Varun Kumar
https://stackoverflow.com/questions/5895588/django-multivaluedictkeyerror-error-how-do-i-deal-with-it Refer to the above webpage. It might help. :) On Sun, 30 Aug, 2020, 12:08 am Odile Abimana, wrote: > Hello, anyone to help me know why it is throwing this error? > > -- > You received this

Monthly payments

2020-08-29 Thread Emmanuel Oppong Ntiamoah
hello  family, i am creating a church management system, one part of the app is to accept monthly tithe. Please how do i design it to accept and remind the user for every month thanks  -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread Kasper Laudrup
Hi King Niko, On 29/08/2020 20.31, King Niko wrote: Both of these errors are very vague and provide no direction for resolution. Has anyone ever encountered this before? I don't know anything about deploying on Heroku, but as others have pointed out, you should definitely look into how

Re: MultiValueDictKeyError

2020-08-29 Thread Kasper Laudrup
Hi Odile, On 29/08/2020 10.03, Odile Abimana wrote: Hello, anyone to help me know why it is throwing this error? That's very hard since you don't provide any kind of context on what you are trying to achieve, but obviously your postData dictionary doesn't contain a key called "email", so

MultiValueDictKeyError

2020-08-29 Thread Odile Abimana
Hello, anyone to help me know why it is throwing this error? -- 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 email to django-users+unsubscr...@googlegroups.com. To view

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-29 Thread V. J
Věřte si  Vašek. JOdesláno z mého telefonu Huawei Původní zpráva Od: RANGA BHARATH JINKA Datum: so 29. srp 2020 5:00Komu: django-users@googlegroups.comPředmět: Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered querysetHi,     There is a

Re: guys help me please, I cannot upload images from django form,

2020-08-29 Thread Chelsea Fan
ok bro I'll try it, thanks for now On Sat, Aug 29, 2020 at 7:53 PM Jonathan Villavicencio < codejonvi...@gmail.com> wrote: > Hello! > in the class Posts in the field "image" add upload_to=upload_path for > example: > image = models.ImageField(blank=True, null=True, verbose_name='surat', >

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
*Last Two 500 Errors:* *>* *"GET / HTTP/1.1" 500 145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/ - (KHTML, like Gecko) Chrome/ - Safari/ -"* *> at=info method=GET path="/" host=samplesite.herokuapp.com request_id=private fwd="private" dyno=web.1

Re: guys help me please, I cannot upload images from django form,

2020-08-29 Thread Jonathan Villavicencio
Hello! in the class Posts in the field "image" add upload_to=upload_path for example: image = models.ImageField(blank=True, null=True, verbose_name='surat', upload_to=upload_path) upload_path is a method write it before of the class definition def upload_path(instance, filename): return

can anyone help me

2020-08-29 Thread allaberdi...@gmail.com
I can upload images from django admin panel but cannot to do same thing with django form , it saves any text but did not save images only, anyone help me please github this is my code: models.py: class Posts(models.Model): Ahal = 'Ahal'

guys help me please, I cannot upload images from django form,

2020-08-29 Thread allaberdi...@gmail.com
I can upload images from django admin panel but cannot to do same thing with django form , it saves any text but did not save images only, anyone help me please this is my code: models.py: class Posts(models.Model): Ahal = 'Ahal' Balkan = 'Balkan' Dasoguz = 'Dasoguz' Lebap = 'Lebap' Mary =

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
Thank you for the feedback! Intriguing, above the 500 error I see the following line: *> Cart: {} * In fact, I have a line in one of my HTML files that says Cart: {} under the JavaScript sector. Maybe this is the bug that needs to be fixed? The cart error plus the Heroku error are quite

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread Kunal Solanke
500 is actually a internal server error ,it can easily resolved by just looking at the logger ,it dosen't only mean syntax error and definately not syntax errors of html file .Html file syntax errors are simply ignored I think you meant jinja code.Basic way to go around these is simply check the

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
I managed to resolve the favicon 400 error. However, there still resides the Heroku error: *> at=info method=GET path="/" host=samplesite.herokuapp.com request_id= "private" fwd="private" dyno=web.1 connect=1ms service=99ms status=500 bytes=477 protocol=https*

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
Thank you so much for the help. The: *> heroku logs --tail* Definitely shows all of the errors. Two common errors that I have witnessed is: *> "GET / HTTP/1.1" 500 145 "https://dashboard.heroku.com/ " "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36

Re: material

2020-08-29 Thread Madhav Nandan
I found some resources worth useful. listing them here: https://www.youtube.com/channel/UCRM1gWNTDx0SHIqUJygD-kQ https://www.datacamp.com/community/tutorials/web-development-django?

Re: creating a website with django

2020-08-29 Thread Madhav Nandan
Dear user, We can collab and clone to the same repository and develop some responsive e-commerce website or travel website. If that Interests you. ping me here. Regards, +91-9170459494 On Sat, Aug 29, 2020 at 3:48 PM Jaap van Wingerde wrote: > https://www.djangoproject.com/start/ > > Kamini

Re: creating a website with django

2020-08-29 Thread Jaap van Wingerde
https://www.djangoproject.com/start/ Kamini Shukla schreef op August 28, 2020 9:09:24 AM UTC: >i want to create a website with the help of django. pls some one help >of >that. > >-- >You received this message because you are subscribed to the Google >Groups "Django users" group. >To

Re: creating a website with django

2020-08-29 Thread Ajeet Kumar Gupt
Hi, Please take help from this website. It's a very basic concept to start the Django framework in one place and step by steps. URL: https://www.djangopythoner.com/ Thanks & Regards On Fri, Aug 28, 2020 at 7:35 PM sakshi jain wrote: > plz help me also > > On Fri, Aug 28, 2020, 19:23