Re: New to Django to select between 3.0 and 2.2

2020-03-13 Thread Andréas Kühne
Hi Mrinal, Django is a very mature framework - new releases rarely have any issues that hinder them from being used in production. For a new project you should definitely go for 3.0 - you will start with the correct structure for the new async features and you will also not have any issues with be

Re: How to get children in Django-CMS

2020-03-13 Thread WrapTheCode
I found a solution. Maybe someone else will get help. {% for child in request.current_page.get_child_pages %} > {{ child.get_menu_title }} > {% page_attribute "meta_description" child %} > {% endfor %} > -- You received this message because you are subscribed to the Google Groups "Django users"

Re: New to Django to select between 3.0 and 2.2

2020-03-13 Thread אורי
Hi Mrinal, It depends on the packages you are using (dependencies). Which Django version do they support? If all your dependencies support Django 3.0, go for it. Otherwise, go for 2.2. I'm personally still using Django 2.1 for Speedy Net, but I'm waiting for PR #12332 to be released to production,

Count the number of emails sent everyday

2020-03-13 Thread Santhosh sridhar
Hi, I am working on django and I trigger emails to multiple email IDs in different scenarios, Is there a way to get the count of emails sent everyday instead of storing it in tables. Regards, Santhosh -- You received this message because you are subscribed to the Google Groups "Django users"

I need help with getting the number of pages a particular user viewed

2020-03-13 Thread Awverosuo Trust
Hi guys Please I need help.. I want to create a website (blog) where * Users can upload or make post *Log in and log out But I have one problem * I want to have a field in the data base called (point) with initial value of Zero(0), and a button in each posts (page) , when the user clic

Multiple user registeration with different fields and authentication

2020-03-13 Thread Kuldeep Sharma
Hi all, New to django, Can someone please tell me how to let multiple user register to my app with different field and authentication. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro

Re: unable to read POST parameters sent by payment gateway

2020-03-13 Thread sercan t.
Don't send POST to http://127.0.0.1:8000/cashfreeresponse, Check your views and urls.py or redirect mechanism. Try to send like this ==> http://127.0.0.1:8000/cashfreeresponse/ I simulate on my machine this. I got error like you when send POST request without '/' at the end. 9 Mart 2020 Pazart

I need a mentor please

2020-03-13 Thread Awverosuo Trust
I need a mentor, please -- 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 this discussion on the web visit ht

Re: How to resolve account access permission on SendGrid.

2020-03-13 Thread avinash prajapati
okay, I have solved this problem. thanks for your response. On Thu, 12 Mar 2020 at 12:05, Naveen Arora wrote: > wrong portal to ask this question :) > > > On Wednesday, 11 March 2020 00:09:31 UTC+5:30, avinash prajapati wrote: >> >> I am recently created an account on SendGrid but after first lo

JavaScript linking

2020-03-13 Thread Daniel Chiemelu
Please how can I link JavaScript to my project when I stored my JavaScript in my static folder/JS subdirectory -- 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 dj

Re: JavaScript linking

2020-03-13 Thread Shishir Jha
One way to do that would be to use bundler like webpack. Do whatever you want to do on frontend and then convert it into static assets using bundler and then place it as an app in django. I assume you were talking about linking js with django as this is the group for django. Two such bundlers you

Re: I need a mentor please

2020-03-13 Thread Ousseynou Diop
Hello how i can help you ? You can reach out to me here @xarala221 https://ousseynoudiop.com Le vendredi 13 mars 2020 11:30:58 UTC, Awverosuo Trust a écrit : > > I need a mentor, please -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsub

Re: Mentor needed

2020-03-13 Thread Ousseynou Diop
Hello how i can help you ? You can reach out to me here @xarala221 https://ousseynoudiop.com Le mercredi 11 mars 2020 10:09:20 UTC, ola neat a écrit : > > Hey guyz I'm applying for GSOC {django} & i pretty much need help > (mentors), > -- You received this message because you are subscribed

Display multiple photos to the same post

2020-03-13 Thread Macheciau
MODELS: class Activitati(models.Model): data_publicarii = models.DateField(default = "-LL-ZZ") titlu = models.TextField(max_length = 50, blank = False) text = models.TextField(blank = False) def get_absolute_url(self): return reverse('activitati', kwargs={'pk':self.pk}) class Images(models.Mo

Re: AttributeError: 'NoneType' object has no attribute 'app_name'

2020-03-13 Thread Sencer Hamarat
Thank you for your suggestion. And sorry fro delayed answer. My hunch is saying same thing but I want to be sure about it. Kind Regards, Sencer Hamarat 3 Mart 2020 Salı 12:24:34 UTC+3 tarihinde Naveen Arora yazdı: > > Hi, > > Can't the error be resolved ? Still, if error has to occur then you c

Re: Count the number of emails sent everyday

2020-03-13 Thread Suraj Thapa FC
You can use some 3rd party apis On Fri, 13 Mar 2020, 4:42 pm Santhosh sridhar, wrote: > Hi, > I am working on django and I trigger emails to multiple email IDs in > different scenarios, Is there a way to get the count of emails sent > everyday instead of storing it in tables. > > Regards, > Sant

Can Length method of django.db.models.functions applicable to BigIntegerField?

2020-03-13 Thread Sencer Hamarat
I need to filter data by it's value length of a field. I can do it in a for loop, but I'm curious about if the Length method can be applicable to any type of field besides CharField -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: Count the number of emails sent everyday

2020-03-13 Thread Santhosh Sridharan
Is there any third party apis that you suggest please? On Fri, 13 Mar, 2020, 8:07 PM Suraj Thapa FC, wrote: > You can use some 3rd party apis > > On Fri, 13 Mar 2020, 4:42 pm Santhosh sridhar, > wrote: > >> Hi, >> I am working on django and I trigger emails to multiple email IDs in >> differen

Error while hosting on heroku

2020-03-13 Thread shree hari
here's the paste of the error: https://del.dog/ewoghelahu.txt have already run makemigrations and migrate. It runs fine on my local machine. Can somebody please help me ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Error while hosting on heroku

2020-03-13 Thread Philip Mitchell
what command did you run fro migrations, you need to run heroku migrate commands On Friday, March 13, 2020 at 6:15:17 PM UTC+3, shree hari wrote: > > here's the paste of the error: https://del.dog/ewoghelahu.txt > have already run makemigrations and migrate. It runs fine on my local > machine. C

How To Send Json data To Django

2020-03-13 Thread venna venkatReddy
Hi i am learing django, so i decided to do one small project on django is that Exam type website. I Need Help, Regrading How To Send Json data To Django when i entering the question and answers from fronend. I successfult stored on Local Storage in json formate, But Once click on clikc on sub

Re: Error while hosting on heroku

2020-03-13 Thread shree hari
heroku run python manage.py migrate --app appname is the command i used. On Friday, March 13, 2020 at 9:21:21 PM UTC+5:30, Philip Mitchell wrote: > > what command did you run fro migrations, you need to run heroku migrate > commands > > On Friday, March 13, 2020 at 6:15:17 PM UTC+3, shree hari wr

Re: Error while hosting on heroku

2020-03-13 Thread Jorge Gimeno
if you used --app appname, then migrations didn't run. You can use 'heroku run python manage.py migrate blog' (without the single quotes) to migrate the blog app models, or 'heroku run python manage.py migrate' (again without single quotes) to migrate all the models in the project. -Jorge On Fri

Re: Error while hosting on heroku

2020-03-13 Thread shree hari
I tried that too. Still its the same. -- 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 this discussion on the w

Re: Error while hosting on heroku

2020-03-13 Thread Jorge Gimeno
Have you checked the logs to see what the command returns? -Jorge On Fri, Mar 13, 2020 at 11:34 AM shree hari wrote: > I tried that too. > Still its the same. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this gr

Re: Error while hosting on heroku

2020-03-13 Thread mohamed khaled
Do you use postgres ??? On Mar 13 2020, at 5:15 pm, shree hari wrote: > here's the paste of the error: https://del.dog/ewoghelahu.txt > have already run makemigrations and migrate. It runs fine on my local > machine. Can somebody please help me ? > > > -- > You received this message because you

Re: Error while hosting on heroku

2020-03-13 Thread Sai Sandeep Rayanuthala
You need to type Heroku run bash -a appname Make sure you configured your postgres database correctly. On Sat, 14 Mar 2020, 00:04 shree hari, wrote: > I tried that too. > Still its the same. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gro

Django and AWS backend MENTOR NEEDED

2020-03-13 Thread Harsh Tibrewal
Hi, I have been trying to learn django and AWS for backend of my mobile applications. However, all my learnig is currently based on open source youtube and and other forums. There are errors that I get stuck with and need help to resolve them. Please someone be my mentor and guide. This will he

Re: Error while hosting on heroku

2020-03-13 Thread shree hari
Hope i have done. Will check again though -- 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 this discussion on t

Re: Error while hosting on heroku

2020-03-13 Thread shree hari
Yes -- 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 this discussion on the web visit https://groups.google.co

Re: How To Send Json data To Django

2020-03-13 Thread Desh Deepak
Hi, Go to the below link: https://youtu.be/9N6a-VLBa2I Thanks & regards Desh Deepak +91 7011101001 On Fri, 13 Mar 2020 at 9:26 PM, venna venkatReddy wrote: > Hi i am learing django, so i decided to do one small project on django is > that Exam type website. > > I Need Help, Regrading How To S