Re: Django Whats app group

2020-07-29 Thread Prashant Singh
Hi EveryOne I have created a whatsapp group for Machine Learning and Data Science for resolving issued related to Data Science and Machine Learning and NLP request to join me 9625653096 or use this link https://chat.whatsapp.com/DXfUEVhjz4c5mNKRA3RvoV Thanks On Mon, Jul 27, 2020 at 3:17 PM Vish

Re: Django Whats app group

2020-07-29 Thread Tobi DEGNON
Discord or slack would be better alternatives Le lun. 27 juill. 2020 10 h 46, Vishnu Bhandari a écrit : > Hi Folks, > Decided to make a whats app group of all django users (aspiring and > expert) for sharing problem and asnwers. > Request you all, please ping me om +919561879917... > Or u can jo

Machine Learning and Data Science Whats app group

2020-07-29 Thread Prashant Singh
Hi EveryOne I have created a whatsapp group for Machine Learning and Data Science for resolving issued related to Data Science and Machine Learning and NLP request to join me 9625653096 or use this link https://chat.whatsapp.com/DXfUEVhjz4c5mNKRA3RvoV Thanks -- You received this message because

CSV generation from url

2020-07-29 Thread Prashant Singh
Hi Everyone, i wanted to predict price for advertising board so can somebody help me out how i can approach for this and convert it into csv file https://www.bluelinemedia.com/billboard-advertising/boston-ma -- You received this message because you are subscribed to the Google Groups "Django u

How long does it take for Google to change redirect uri to be reflected on django website?

2020-07-29 Thread Parth Lashkari
I have setup a redirect uri for a Google API, since I have changed the redirect uri I get an error response that the redirect uri is mismatched. In the google developer console I see the updated redirect uri but when I try to socially authenticate the django website again and I see that the

Django instalation problem

2020-07-29 Thread Endris Mohammed
help i am trying to install Django developer version on Ubuntu 18.04 python -m pip install -e django/ it says "Directory 'django/' is not installable. File 'setup.py' not found." -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

How long does it take for Google to change redirect uri to be reflected on django website?

2020-07-29 Thread Parth Lashkari
I have setup a redirect uri for a Google API, since I have changed the redirect uri I get an error response that the redirect uri is mismatched. In the google developer console I see the updated redirect uri but when I try to socially authenticate the django website again and I see that the r

Django Community Survey

2020-07-29 Thread Miracle
https://twitter.com/djangoproject/status/1288488760741683201?s=09 Django 2020 Community survey -- 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+uns

Django Survey

2020-07-29 Thread Miracle
Django Developers Community Survey 2020 Your feedback is highly appreciated. https://t.co/p7dKmaAaXh -- 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-us

Re: Django Survey

2020-07-29 Thread Dylan Reinhold
This really felt spammy. And I'm surprised it ended up on the djangoproject page. Why is the url shortened via the twitter link, then directes to a link on https://ift.tt then finally to the django project? What is that ifft.tt link some sort of tracking link to see who opens this email? Why not

Re: Django Survey

2020-07-29 Thread Dylan Reinhold
I now see the django team used the ift link in their tweet... Thanks for forwarding this on Miracle. Regards, Dylan On Wed, Jul 29, 2020 at 10:13 AM Dylan Reinhold wrote: > This really felt spammy. And I'm surprised it ended up on the > djangoproject page. > Why is the url shortened via the twi

Re: Django Survey

2020-07-29 Thread Miracle
You welcome Ryan. Kind regards. On Wed, 29 Jul 2020, 6:20 pm Dylan Reinhold, wrote: > I now see the django team used the ift link in their tweet... Thanks for > forwarding this on Miracle. > > Regards, > Dylan > > On Wed, Jul 29, 2020 at 10:13 AM Dylan Reinhold > wrote: > >> This really felt s

Re: Django automatic Logout and and after login it stays on same page

2020-07-29 Thread Isha Thakur
I mean, suppose I logged in, accessed my website, and closed the browser. Sometimes when I try to access my website next time the session is closed(logout). This does not happen all the time it happens once in a month. When I do log out manually(I mean when I click on the logout button on my we

how source code is deployed inproduction

2020-07-29 Thread Ravi G
anyone can explain me how to code is deployed in production and which server they used -- 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...@

Re: CSV generation from url

2020-07-29 Thread 'Ryan Nowakowski' via Django users
On Wed, Jul 29, 2020 at 06:18:51PM +0530, Prashant Singh wrote: > Hi Everyone, > i wanted to predict price for advertising board so can somebody help me out > how i can approach for this and convert it into csv file > > > https://www.bluelinemedia.com/billboard-advertising/boston-ma You're prob

Re: Django Community Survey

2020-07-29 Thread MUGOYA DIHFAHSIH
already taken the survey, thanks for the link, it is a best way django can improve the future of our django. On Wed, 29 Jul 2020 at 19:49, Miracle wrote: > https://twitter.com/djangoproject/status/1288488760741683201?s=09 > > > Django 2020 Community survey > > -- > You received this message beca

Re: how source code is deployed inproduction

2020-07-29 Thread Ogunsanya Opeyemi
Hi it depends on the hosting company for more details send a mail to me. On Wednesday, July 29, 2020, Ravi G wrote: > anyone can explain me how to code is deployed in production and which > server they used > > -- > You received this message because you are subscribed to the Google Groups > "Dja

Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread Christian Seberino
I have a Django app with multiple forms on various pages. They all work except for one with just an optional checkbox... I checked and they all have templates with {% csrf_token %}. The only thing special but the problematic form is that I have a checkbox input that is optional. That mean

Re: how source code is deployed inproduction

2020-07-29 Thread Miracle
You can use Heroku Netlify Google Cloud Amazon Web Services Digital Ocean Azure Python anywhere Etc. Just google how to deploy django on an of the above provider and you'll see lots of tutorials and videos to put you through. An easy place to start would be Heroku. Kind regards, Miracle On

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread Christian Seberino
Here is the problematic url... > https://grandmas4hire.com/admin_status/ > Just press submit button w/o doing anything else and you'll see -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving ema

Re: Django instalation problem

2020-07-29 Thread Taofeek Jimoh Iyanda
*You can use this instead* python -m pip install Django The one you use is actually for someone who download django from git. If there is no reason why you need to download from git, kindly use the above code. Hope you find this helpful In case of any mixup, you can refer to https://docs.dja

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread Taofeek Jimoh Iyanda
Check this website, it may be helpful https://www.techiediaries.com/django-react-forms-csrf-axios/ On Wednesday, July 29, 2020 at 9:55:33 PM UTC+1, Christian Seberino wrote: > > I have a Django app with multiple forms on various pages. They all work > except for one with just an optional check

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread coolguy
Tired your link for the form. If this is the form you are concerned about then the message that pops up is for validation i.e. form.is_valid(). On Wednesday, July 29, 2020 at 4:55:33 PM UTC-4, Christian Seberino wrote: > > I have a Django app with multiple forms on various pages. They all work

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread Christian Seberino
On Wednesday, July 29, 2020 at 5:29:53 PM UTC-5, coolguy wrote: > > Tired your link for the form. If this is the form you are concerned about > then the message that pops up is for validation i.e. form.is_valid(). > Did you see the CSRF error I got?. Here is a pic https://imgur.com/a/LIRBadQ

Re: How to create a link between Posts List View and Items List View of the same User

2020-07-29 Thread coolguy
Please share the project directory structure. Send a screen shot or write it. Tnx On Tuesday, July 28, 2020 at 11:14:14 PM UTC-4, Ahmed Khairy wrote: > > I am creating a project where there are Posts and Items, 2 different > models in 2 different apps and each has a user who can be the same. > >

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread coolguy
No. What i said the link you sent gives the validation error since fields are blank. Its nothing working the same way as you. Can you send the code for your html template. On Wednesday, July 29, 2020 at 6:53:29 PM UTC-4, Christian Seberino wrote: > > > > On Wednesday, July 29, 2020 at 5:29:53 PM

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread coolguy
No. What i said the link you sent gives the validation error since fields are blank. Its not working the same way as you. Can you send the code for your html template. On Wednesday, July 29, 2020 at 6:53:29 PM UTC-4, Christian Seberino wrote: > > > > On Wednesday, July 29, 2020 at 5:29:53 PM UTC

Re: How to create a link between Posts List View and Items List View of the same User

2020-07-29 Thread Jules Andiole
Replace Item.objects.filter(*designer=user*).order_by('-timestamp') with Item.objects.filter*(designer = request.user*).order_by('-timestamp') On Thursday, 30 July 2020 at 09:03:26 UTC+10 coolguy wrote: > Please share the project directory structure. Send a screen shot or write > it. Tnx > >

Re: How to create a link between Posts List View and Items List View of the same User

2020-07-29 Thread Jules Andiole
replace - Item.objects.filter(designer=user) with - Item.objects.filter(*request.user*) On Thursday, 30 July 2020 at 09:03:26 UTC+10 coolguy wrote: > Please share the project directory structure. Send a screen shot or write > it. Tnx > > > On Tuesday, July 28, 2020 at 11:14:14 P

Re: Django modelformset is_valid method retrieves entire model from database

2020-07-29 Thread Abdulrahman Alahaideb
Fortunately; I found the missing part, in documentation it say (Changing the queryset ): > By default, when you create a formset from a model, the formset will use a > queryset that includes all objects in

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread Christian Seberino
Here is my template... {% extends "html_base" %} {% block body_elements %} UPDATE STATUSES {% for e in both %}

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread 'Amitesh Sahay' via Django users
Generally, {% csrf_token %} is written just below the opening tag. I mean, not sure if this has anything to do with your issue. Others may confirm as well Regards, Amitesh On Thursday, 30 July, 2020, 07:26:21 am IST, Christian Seberino wrote: Here is my template... {% extends "htm

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread coolguy
By default, Django checks for the CSRF token in all POST requests. Remember to include the csrf_token tag in all forms that are submitted via POST. Please place csrf_token in tag. You have placed it outside of form tag. On Wednesday, July 29, 2020 at 9:57:41 PM UTC-4, Christian Seberino wrote:

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread coolguy
By default, Django checks for the CSRF token in all POST requests. Remember to include the csrf_token tag in all forms that are submitted via POST. Place csrf_token within form tag... e.g. {% csrf_token%} tag On Wednesday, July 29, 2020 at 9:57:41 PM UTC-4, Christian Seberino wrote: > > Her

Re: Can't get rid of "CSRF verification failed. Request aborted.: when submit form with nothing selected

2020-07-29 Thread Christian Seberino
Amitesh Oh my thank you so much. I actually did move the csrf token outside the form element. That may be it. I will check that soon. On Wed, Jul 29, 2020, 8:59 PM 'Amitesh Sahay' via Django users < django-users@googlegroups.com> wrote: > Generally, {% csrf_token %} is written just below the ope

Admin list sorting problem

2020-07-29 Thread Mike Dewhirst
I have looked closely at the Admin docs and the page source and I think I'm at the blank wall. I have a collection of 14,000+ chemical names which just naturally sort weirdly. This is because scientists insist on incuding "locants" in chemical names. Locants indicate where sub-molecules sit in the

reg: error after I update my user profile page successfully

2020-07-29 Thread 'Amitesh Sahay' via Django users
Hello All,  I have been facing a very notorious issue. I say notorious because, I do not see any issue with my back-end functionality. I have developed a method to update the default User model field(email), and other extended User model(custom fields like country, state, phone etc). Below is the