Re: Help me with the view please

2020-09-21 Thread coolguy
I have made some changes to the model.py and now methods/functions are 
properties(*@property*). It's of personal preference and you will find 
programmers prefer properties and functions for their own understanding.
google it you will see

Since these functions are not doing big calculations with no 
parameter/argument and are very basic so we can use property instead. 

What you need to do is... wherever you called the method with () 
brackets... remove them like example below...

fee = self.student.get_remaining_fee()
to
fee = self.student.get_remaining_fee

There is one get_absolute_url method that you can use to reverse to 
student_detail view (if you have create one). We can later talk about how 
you are using views to generate your output...
On Monday, September 21, 2020 at 2:58:14 PM UTC-4 dex9...@gmail.com wrote:

> Hi @coolguy, thanks for your attachments,  have created all the views and 
> templates, and I have been working on them for my new web app, for this new 
> models will it be easy for more implement or auto check paid all checkbox 
> all payments have been completed, please, how?
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Thursday, September 17, 2020 6:26 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> If you are using sqllite3 then make a copy of it and delete the existing 
> sqllite3 file from your project. Keep the old file as you may need it.
>
>  
>
> Here are project files... i quickly make them but these are working..
>
>  
>
>  
>
>  
>
>  
>
> On Wednesday, September 16, 2020 at 3:57:22 PM UTC-4 dex9...@gmail.com 
> wrote:
>
> Since model design is where I very much struggle, and I think  my fee 
> management system models are not well design, so I need your help in 
> redesigning my models please
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Wednesday, September 16, 2020 5:31 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> There are a lot of courses but those are very basic and keep on talking 
> about same thing that you might have learned before... even after taking 
> courses you will have to think yourself how to structure your tables
>
>  
>
> I would suggest don't start any big project rather start with a simple 
> Student, Payment and Class models. Keep master information in your Student 
> and class models and all transaction in Payment model.
>
>  
>
> I can help you in designing the models.
>
>  
>
> Let me know...
>
>  
>
> On Wednesday, September 16, 2020 at 12:43:06 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your valuable information, it seems my models are not well 
> constructed, I will first work on them.
>
> Don’t you have a YouTube channel or website or paid course somewhere like 
> Udemy where I can learn more
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 15, 2020 10:57 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> Isn't this 'paid_fee' used to record the quarterly/monthly payments from 
> students? and this field will have multiple records? 
>
>  
>
> It seems you are looking to save an accumulated paid_fee (total_paid_fees) 
> somewhere in table. 
>
> If i am corrected then... this type of structure is okay when you are 
> working on spreadsheet solution e.g. microsoft excel, and save/calculate 
> the result in a separate column for the user info but when we deal with the 
> database and UI solution we don't use this approach... rather we show such 
> calculation on template. We persist initial setup values like student name, 
> school_fees etc and the recurring transactions in database.
>
>  
>
> If you really want to save this type of information in your database you 
> get to change your database structure and create a parent and child 
> relationship between Fee (being parent) and Student_Payments (being child). 
> 'Fee' would have all setup information as well as calculated fields like 
> total_fees, total_paid_fees, remaining_fees etc. 'Student_payments' would 
> only carry number of payments over the periods. When you have this 
> structure ready then you can think of maintaining totals in parent table 
> per student.
>
>  
>
> anyways, to your question following line would not work in save() method
>
> >>> self.paid_fees = *student*.fee_set.aggregate(*total_paid_fees*
> =sum('paid_fees'))  
>
>  
>
> since you don't have 
>
> >>> *student* = Student.objects.get(id=pk)
>
>  
>
> even if you want to save then which record in the table would you 
> update... so logically its wrong.
>
>  
>
> On Tuesday, September 15, 2020 at 2:04:57 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> *def* save(*self*, **args*, ***kwargs*):
>
> self.paid_fees = 

Looking to join a team in a Django Project to gain Experience

2020-09-21 Thread ahmed.he...@gmail.com
Hi all,

I am looking for a team of developers to join them in a project to enhance 
my skills and add to my portfolio.  I am available part time.

Thanks

-- 
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.com/d/msgid/django-users/6e15411d-b25d-40c8-a987-e65da9b3c297n%40googlegroups.com.


Re: Help me with the view please

2020-09-21 Thread coolguy
write me directly so i can respond fast... naseem.pyt...@gmail.com

On Monday, September 21, 2020 at 2:58:14 PM UTC-4 dex9...@gmail.com wrote:

> Hi @coolguy, thanks for your attachments,  have created all the views and 
> templates, and I have been working on them for my new web app, for this new 
> models will it be easy for more implement or auto check paid all checkbox 
> all payments have been completed, please, how?
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Thursday, September 17, 2020 6:26 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> If you are using sqllite3 then make a copy of it and delete the existing 
> sqllite3 file from your project. Keep the old file as you may need it.
>
>  
>
> Here are project files... i quickly make them but these are working..
>
>  
>
>  
>
>  
>
>  
>
> On Wednesday, September 16, 2020 at 3:57:22 PM UTC-4 dex9...@gmail.com 
> wrote:
>
> Since model design is where I very much struggle, and I think  my fee 
> management system models are not well design, so I need your help in 
> redesigning my models please
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Wednesday, September 16, 2020 5:31 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> There are a lot of courses but those are very basic and keep on talking 
> about same thing that you might have learned before... even after taking 
> courses you will have to think yourself how to structure your tables
>
>  
>
> I would suggest don't start any big project rather start with a simple 
> Student, Payment and Class models. Keep master information in your Student 
> and class models and all transaction in Payment model.
>
>  
>
> I can help you in designing the models.
>
>  
>
> Let me know...
>
>  
>
> On Wednesday, September 16, 2020 at 12:43:06 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your valuable information, it seems my models are not well 
> constructed, I will first work on them.
>
> Don’t you have a YouTube channel or website or paid course somewhere like 
> Udemy where I can learn more
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 15, 2020 10:57 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> Isn't this 'paid_fee' used to record the quarterly/monthly payments from 
> students? and this field will have multiple records? 
>
>  
>
> It seems you are looking to save an accumulated paid_fee (total_paid_fees) 
> somewhere in table. 
>
> If i am corrected then... this type of structure is okay when you are 
> working on spreadsheet solution e.g. microsoft excel, and save/calculate 
> the result in a separate column for the user info but when we deal with the 
> database and UI solution we don't use this approach... rather we show such 
> calculation on template. We persist initial setup values like student name, 
> school_fees etc and the recurring transactions in database.
>
>  
>
> If you really want to save this type of information in your database you 
> get to change your database structure and create a parent and child 
> relationship between Fee (being parent) and Student_Payments (being child). 
> 'Fee' would have all setup information as well as calculated fields like 
> total_fees, total_paid_fees, remaining_fees etc. 'Student_payments' would 
> only carry number of payments over the periods. When you have this 
> structure ready then you can think of maintaining totals in parent table 
> per student.
>
>  
>
> anyways, to your question following line would not work in save() method
>
> >>> self.paid_fees = *student*.fee_set.aggregate(*total_paid_fees*
> =sum('paid_fees'))  
>
>  
>
> since you don't have 
>
> >>> *student* = Student.objects.get(id=pk)
>
>  
>
> even if you want to save then which record in the table would you 
> update... so logically its wrong.
>
>  
>
> On Tuesday, September 15, 2020 at 2:04:57 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> *def* save(*self*, **args*, ***kwargs*):
>
> self.paid_fees = student.fee_set.aggregate(*total_paid_fees*=sum(
> 'paid_fees'))
>
> self.school_fees = first_record.school_fees
>
> self.remaining_fees = self.school_fees - self.paid_fees
>
> if self.remaining_fees == 0:
>
> self.completed = True
>
> else:
>
> self.completed = False
>
> 
>
> *super*().save(*args, **kwargs)
>
> I have tried doing it like this, perhaps maybe you can see what I’m trying 
> to do
>
> Sent from Mail 
>
>  
>
> *From: *coolguy
> *Sent: *Monday, September 14, 2020 11:53 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> not sure what are you looking 

Re: Help me with the view please

2020-09-21 Thread coolguy
checkout my work for you on https://github.com/naseemfico/students

On Monday, September 21, 2020 at 2:58:14 PM UTC-4 dex9...@gmail.com wrote:

> Hi @coolguy, thanks for your attachments,  have created all the views and 
> templates, and I have been working on them for my new web app, for this new 
> models will it be easy for more implement or auto check paid all checkbox 
> all payments have been completed, please, how?
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Thursday, September 17, 2020 6:26 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> If you are using sqllite3 then make a copy of it and delete the existing 
> sqllite3 file from your project. Keep the old file as you may need it.
>
>  
>
> Here are project files... i quickly make them but these are working..
>
>  
>
>  
>
>  
>
>  
>
> On Wednesday, September 16, 2020 at 3:57:22 PM UTC-4 dex9...@gmail.com 
> wrote:
>
> Since model design is where I very much struggle, and I think  my fee 
> management system models are not well design, so I need your help in 
> redesigning my models please
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Wednesday, September 16, 2020 5:31 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> There are a lot of courses but those are very basic and keep on talking 
> about same thing that you might have learned before... even after taking 
> courses you will have to think yourself how to structure your tables
>
>  
>
> I would suggest don't start any big project rather start with a simple 
> Student, Payment and Class models. Keep master information in your Student 
> and class models and all transaction in Payment model.
>
>  
>
> I can help you in designing the models.
>
>  
>
> Let me know...
>
>  
>
> On Wednesday, September 16, 2020 at 12:43:06 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your valuable information, it seems my models are not well 
> constructed, I will first work on them.
>
> Don’t you have a YouTube channel or website or paid course somewhere like 
> Udemy where I can learn more
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 15, 2020 10:57 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> Isn't this 'paid_fee' used to record the quarterly/monthly payments from 
> students? and this field will have multiple records? 
>
>  
>
> It seems you are looking to save an accumulated paid_fee (total_paid_fees) 
> somewhere in table. 
>
> If i am corrected then... this type of structure is okay when you are 
> working on spreadsheet solution e.g. microsoft excel, and save/calculate 
> the result in a separate column for the user info but when we deal with the 
> database and UI solution we don't use this approach... rather we show such 
> calculation on template. We persist initial setup values like student name, 
> school_fees etc and the recurring transactions in database.
>
>  
>
> If you really want to save this type of information in your database you 
> get to change your database structure and create a parent and child 
> relationship between Fee (being parent) and Student_Payments (being child). 
> 'Fee' would have all setup information as well as calculated fields like 
> total_fees, total_paid_fees, remaining_fees etc. 'Student_payments' would 
> only carry number of payments over the periods. When you have this 
> structure ready then you can think of maintaining totals in parent table 
> per student.
>
>  
>
> anyways, to your question following line would not work in save() method
>
> >>> self.paid_fees = *student*.fee_set.aggregate(*total_paid_fees*
> =sum('paid_fees'))  
>
>  
>
> since you don't have 
>
> >>> *student* = Student.objects.get(id=pk)
>
>  
>
> even if you want to save then which record in the table would you 
> update... so logically its wrong.
>
>  
>
> On Tuesday, September 15, 2020 at 2:04:57 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> *def* save(*self*, **args*, ***kwargs*):
>
> self.paid_fees = student.fee_set.aggregate(*total_paid_fees*=sum(
> 'paid_fees'))
>
> self.school_fees = first_record.school_fees
>
> self.remaining_fees = self.school_fees - self.paid_fees
>
> if self.remaining_fees == 0:
>
> self.completed = True
>
> else:
>
> self.completed = False
>
> 
>
> *super*().save(*args, **kwargs)
>
> I have tried doing it like this, perhaps maybe you can see what I’m trying 
> to do
>
> Sent from Mail 
>
>  
>
> *From: *coolguy
> *Sent: *Monday, September 14, 2020 11:53 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> not sure what are you looking 

Re: Help me with the view please

2020-09-21 Thread coolguy
yes you will... I left these for you... but definitely you can write me. 

On Monday, September 21, 2020 at 2:58:14 PM UTC-4 dex9...@gmail.com wrote:

> Hi @coolguy, thanks for your attachments,  have created all the views and 
> templates, and I have been working on them for my new web app, for this new 
> models will it be easy for more implement or auto check paid all checkbox 
> all payments have been completed, please, how?
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Thursday, September 17, 2020 6:26 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> If you are using sqllite3 then make a copy of it and delete the existing 
> sqllite3 file from your project. Keep the old file as you may need it.
>
>  
>
> Here are project files... i quickly make them but these are working..
>
>  
>
>  
>
>  
>
>  
>
> On Wednesday, September 16, 2020 at 3:57:22 PM UTC-4 dex9...@gmail.com 
> wrote:
>
> Since model design is where I very much struggle, and I think  my fee 
> management system models are not well design, so I need your help in 
> redesigning my models please
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Wednesday, September 16, 2020 5:31 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> There are a lot of courses but those are very basic and keep on talking 
> about same thing that you might have learned before... even after taking 
> courses you will have to think yourself how to structure your tables
>
>  
>
> I would suggest don't start any big project rather start with a simple 
> Student, Payment and Class models. Keep master information in your Student 
> and class models and all transaction in Payment model.
>
>  
>
> I can help you in designing the models.
>
>  
>
> Let me know...
>
>  
>
> On Wednesday, September 16, 2020 at 12:43:06 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your valuable information, it seems my models are not well 
> constructed, I will first work on them.
>
> Don’t you have a YouTube channel or website or paid course somewhere like 
> Udemy where I can learn more
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 15, 2020 10:57 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> Isn't this 'paid_fee' used to record the quarterly/monthly payments from 
> students? and this field will have multiple records? 
>
>  
>
> It seems you are looking to save an accumulated paid_fee (total_paid_fees) 
> somewhere in table. 
>
> If i am corrected then... this type of structure is okay when you are 
> working on spreadsheet solution e.g. microsoft excel, and save/calculate 
> the result in a separate column for the user info but when we deal with the 
> database and UI solution we don't use this approach... rather we show such 
> calculation on template. We persist initial setup values like student name, 
> school_fees etc and the recurring transactions in database.
>
>  
>
> If you really want to save this type of information in your database you 
> get to change your database structure and create a parent and child 
> relationship between Fee (being parent) and Student_Payments (being child). 
> 'Fee' would have all setup information as well as calculated fields like 
> total_fees, total_paid_fees, remaining_fees etc. 'Student_payments' would 
> only carry number of payments over the periods. When you have this 
> structure ready then you can think of maintaining totals in parent table 
> per student.
>
>  
>
> anyways, to your question following line would not work in save() method
>
> >>> self.paid_fees = *student*.fee_set.aggregate(*total_paid_fees*
> =sum('paid_fees'))  
>
>  
>
> since you don't have 
>
> >>> *student* = Student.objects.get(id=pk)
>
>  
>
> even if you want to save then which record in the table would you 
> update... so logically its wrong.
>
>  
>
> On Tuesday, September 15, 2020 at 2:04:57 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> *def* save(*self*, **args*, ***kwargs*):
>
> self.paid_fees = student.fee_set.aggregate(*total_paid_fees*=sum(
> 'paid_fees'))
>
> self.school_fees = first_record.school_fees
>
> self.remaining_fees = self.school_fees - self.paid_fees
>
> if self.remaining_fees == 0:
>
> self.completed = True
>
> else:
>
> self.completed = False
>
> 
>
> *super*().save(*args, **kwargs)
>
> I have tried doing it like this, perhaps maybe you can see what I’m trying 
> to do
>
> Sent from Mail 
>
>  
>
> *From: *coolguy
> *Sent: *Monday, September 14, 2020 11:53 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> not sure what are you 

Re: Help me with the view please

2020-09-21 Thread coolguy
yes you will... I left these for you... but definitely you can write me 
directly @ naseem.pyt...@gmail.com


On Monday, September 21, 2020 at 2:58:14 PM UTC-4 dex9...@gmail.com wrote:

> Hi @coolguy, thanks for your attachments,  have created all the views and 
> templates, and I have been working on them for my new web app, for this new 
> models will it be easy for more implement or auto check paid all checkbox 
> all payments have been completed, please, how?
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Thursday, September 17, 2020 6:26 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> If you are using sqllite3 then make a copy of it and delete the existing 
> sqllite3 file from your project. Keep the old file as you may need it.
>
>  
>
> Here are project files... i quickly make them but these are working..
>
>  
>
>  
>
>  
>
>  
>
> On Wednesday, September 16, 2020 at 3:57:22 PM UTC-4 dex9...@gmail.com 
> wrote:
>
> Since model design is where I very much struggle, and I think  my fee 
> management system models are not well design, so I need your help in 
> redesigning my models please
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Wednesday, September 16, 2020 5:31 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> There are a lot of courses but those are very basic and keep on talking 
> about same thing that you might have learned before... even after taking 
> courses you will have to think yourself how to structure your tables
>
>  
>
> I would suggest don't start any big project rather start with a simple 
> Student, Payment and Class models. Keep master information in your Student 
> and class models and all transaction in Payment model.
>
>  
>
> I can help you in designing the models.
>
>  
>
> Let me know...
>
>  
>
> On Wednesday, September 16, 2020 at 12:43:06 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your valuable information, it seems my models are not well 
> constructed, I will first work on them.
>
> Don’t you have a YouTube channel or website or paid course somewhere like 
> Udemy where I can learn more
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 15, 2020 10:57 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> Isn't this 'paid_fee' used to record the quarterly/monthly payments from 
> students? and this field will have multiple records? 
>
>  
>
> It seems you are looking to save an accumulated paid_fee (total_paid_fees) 
> somewhere in table. 
>
> If i am corrected then... this type of structure is okay when you are 
> working on spreadsheet solution e.g. microsoft excel, and save/calculate 
> the result in a separate column for the user info but when we deal with the 
> database and UI solution we don't use this approach... rather we show such 
> calculation on template. We persist initial setup values like student name, 
> school_fees etc and the recurring transactions in database.
>
>  
>
> If you really want to save this type of information in your database you 
> get to change your database structure and create a parent and child 
> relationship between Fee (being parent) and Student_Payments (being child). 
> 'Fee' would have all setup information as well as calculated fields like 
> total_fees, total_paid_fees, remaining_fees etc. 'Student_payments' would 
> only carry number of payments over the periods. When you have this 
> structure ready then you can think of maintaining totals in parent table 
> per student.
>
>  
>
> anyways, to your question following line would not work in save() method
>
> >>> self.paid_fees = *student*.fee_set.aggregate(*total_paid_fees*
> =sum('paid_fees'))  
>
>  
>
> since you don't have 
>
> >>> *student* = Student.objects.get(id=pk)
>
>  
>
> even if you want to save then which record in the table would you 
> update... so logically its wrong.
>
>  
>
> On Tuesday, September 15, 2020 at 2:04:57 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> *def* save(*self*, **args*, ***kwargs*):
>
> self.paid_fees = student.fee_set.aggregate(*total_paid_fees*=sum(
> 'paid_fees'))
>
> self.school_fees = first_record.school_fees
>
> self.remaining_fees = self.school_fees - self.paid_fees
>
> if self.remaining_fees == 0:
>
> self.completed = True
>
> else:
>
> self.completed = False
>
> 
>
> *super*().save(*args, **kwargs)
>
> I have tried doing it like this, perhaps maybe you can see what I’m trying 
> to do
>
> Sent from Mail 
>
>  
>
> *From: *coolguy
> *Sent: *Monday, September 14, 2020 11:53 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>

RE: Help me with the view please

2020-09-21 Thread fadhil alex
Hi @coolguy, thanks for your attachments,  have created all the views and templates, and I have been working on them for my new web app, for this new models will it be easy for more implement or auto check paid all checkbox all payments have been completed, please, how? Sent from Mail for Windows 10 From: coolguySent: Thursday, September 17, 2020 6:26 AMTo: Django usersSubject: Re: Help me with the view please If you are using sqllite3 then make a copy of it and delete the existing sqllite3 file from your project. Keep the old file as you may need it. Here are project files... i quickly make them but these are working..On Wednesday, September 16, 2020 at 3:57:22 PM UTC-4 dex9...@gmail.com wrote:Since model design is where I very much struggle, and I think  my fee management system models are not well design, so I need your help in redesigning my models please Sent from Mail for Windows 10 From: coolguySent: Wednesday, September 16, 2020 5:31 PMTo: Django usersSubject: Re: Help me with the view please There are a lot of courses but those are very basic and keep on talking about same thing that you might have learned before... even after taking courses you will have to think yourself how to structure your tables I would suggest don't start any big project rather start with a simple Student, Payment and Class models. Keep master information in your Student and class models and all transaction in Payment model. I can help you in designing the models. Let me know... On Wednesday, September 16, 2020 at 12:43:06 AM UTC-4 dex9...@gmail.com wrote:Thanks for your valuable information, it seems my models are not well constructed, I will first work on them.Don’t you have a YouTube channel or website or paid course somewhere like Udemy where I can learn more Sent from Mail for Windows 10 From: coolguySent: Tuesday, September 15, 2020 10:57 PMTo: Django usersSubject: Re: Help me with the view please Isn't this 'paid_fee' used to record the quarterly/monthly payments from students? and this field will have multiple records?  It seems you are looking to save an accumulated paid_fee (total_paid_fees) somewhere in table. If i am corrected then... this type of structure is okay when you are working on spreadsheet solution e.g. microsoft excel, and save/calculate the result in a separate column for the user info but when we deal with the database and UI solution we don't use this approach... rather we show such calculation on template. We persist initial setup values like student name, school_fees etc and the recurring transactions in database. If you really want to save this type of information in your database you get to change your database structure and create a parent and child relationship between Fee (being parent) and Student_Payments (being child). 'Fee' would have all setup information as well as calculated fields like total_fees, total_paid_fees, remaining_fees etc. 'Student_payments' would only carry number of payments over the periods. When you have this structure ready then you can think of maintaining totals in parent table per student. anyways, to your question following line would not work in save() method>>> self.paid_fees = student.fee_set.aggregate(total_paid_fees=sum('paid_fees'))   since you don't have >>> student = Student.objects.get(id=pk) even if you want to save then which record in the table would you update... so logically its wrong. On Tuesday, September 15, 2020 at 2:04:57 AM UTC-4 dex9...@gmail.com wrote:def save(self, *args, **kwargs):self.paid_fees = student.fee_set.aggregate(total_paid_fees=sum('paid_fees'))self.school_fees = first_record.school_feesself.remaining_fees = self.school_fees - self.paid_feesif self.remaining_fees == 0:self.completed = Trueelse:self.completed = Falsesuper().save(*args, **kwargs)I have tried doing it like this, perhaps maybe you can see what I’m trying to doSent from Mail From: coolguySent: Monday, September 14, 2020 11:53 PMTo: Django usersSubject: Re: Help me with the view please not sure what are you looking for.. but based on your model setup... school fees is setup once so we picked it up from first object/record from table, while paid fees are collected quarterly or whatever means there will be more than one transaction in fee table. We have already calculated the "paid_fees" from fee table like this>>>    paid_fees = student.fee_set.aggregate(total_paid_fees=Sum('paid_fees')) I definitely want to help as long as i know what you are looking for :)  On Monday, September 14, 2020 at 4:26:48 PM UTC-4 dex9...@gmail.com wrote:Thanks it has worked, but it doesn’t work with my total_paid_fees, I want to be automatically checked when school_fees substracts summation of all paid_fees, just like this solution you provided me with the last timefirst_record = student.fee_set.first() school_fees = first_record.school_fees  paid_fees = 

Re: How to Add to Django Administration Using Code

2020-09-21 Thread coolguy

further to my previous comments please share the your related model code to 
make discussion interesting...
On Sunday, September 20, 2020 at 11:35:05 AM UTC-4 Lightning Bit wrote:

> Hi all, 
>
> I am trying to figure out how to add "Customers" using code. Please look 
> at the administration layout: 
>
> [image: HELP.png]
>
> I was able to add to "Groups" using the following code in "views.py": 
>
> *@unauthenticated_user*
> *def registerPage(request):*
>
> *form = CreateUserForm()*
>
> *if request.method == 'POST':*
> *form = CreateUserForm(request.POST)*
> *if form.is_valid():*
> *user = form.save()*
> *username = form.cleaned_data.get('username')*
> 
> *group = Group.objects.get(name='customer')*
> *user.groups.add(group)*
> 
>
>
>
> *messages.success(request, 'BOLT Force account was 
> created for' + username )*
> *return redirect('login')*
>
> *data= cartData(request)*
>
> *items=data['items']*
> *order=data['order']*
> *cartItems=data['cartItems']*
>
> *products = Product.objects.all()*
>
> *context = {'products':products, 'items':items, 'order':order, 
> 'cartItems':cartItems, 'form':form}*
> *return render(request, 'store/register.html', context)*
>
> However, I am unsure of how to add to the "Customers" section of the 
> picture above. I have tried almost every technique with no luck. I wanted 
> both the "Groups" and the "Customers" to have the same registered person 
> added at once. Would anyone happen to know how to fix this? 
>
> Thank you!
>

-- 
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.com/d/msgid/django-users/76689278-42d6-4fbf-83d1-248b2a9721b8n%40googlegroups.com.


Re: Want to get informations about bets Django hosting plateform

2020-09-21 Thread Maksim Mislavskii
maybe pythonanywhere.com?

ในวันที่ วันอาทิตย์ที่ 20 กันยายน ค.ศ. 2020 เวลา 22 นาฬิกา 35 นาที 59 
วินาที UTC+7 wesley...@gmail.com เขียนว่า:

> Hi guys 
>
> Please I want some person to help me about choosing hosting plateform for 
> my Django project, a plateforme that offers an extensible offer without 
> problem for migration through version of thé ptoject. 
>
> Hope you will help me 
>

-- 
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.com/d/msgid/django-users/0e22c5d6-9ab8-465b-8a19-631b5c851ed0n%40googlegroups.com.


Re: How to Add to Django Administration Using Code

2020-09-21 Thread coolguy
do want to add the picture file to the customer application or want to see 
the picture in admin?

On Sunday, September 20, 2020 at 11:35:05 AM UTC-4 Lightning Bit wrote:

> Hi all, 
>
> I am trying to figure out how to add "Customers" using code. Please look 
> at the administration layout: 
>
> [image: HELP.png]
>
> I was able to add to "Groups" using the following code in "views.py": 
>
> *@unauthenticated_user*
> *def registerPage(request):*
>
> *form = CreateUserForm()*
>
> *if request.method == 'POST':*
> *form = CreateUserForm(request.POST)*
> *if form.is_valid():*
> *user = form.save()*
> *username = form.cleaned_data.get('username')*
> 
> *group = Group.objects.get(name='customer')*
> *user.groups.add(group)*
> 
>
>
>
> *messages.success(request, 'BOLT Force account was 
> created for' + username )*
> *return redirect('login')*
>
> *data= cartData(request)*
>
> *items=data['items']*
> *order=data['order']*
> *cartItems=data['cartItems']*
>
> *products = Product.objects.all()*
>
> *context = {'products':products, 'items':items, 'order':order, 
> 'cartItems':cartItems, 'form':form}*
> *return render(request, 'store/register.html', context)*
>
> However, I am unsure of how to add to the "Customers" section of the 
> picture above. I have tried almost every technique with no luck. I wanted 
> both the "Groups" and the "Customers" to have the same registered person 
> added at once. Would anyone happen to know how to fix this? 
>
> Thank you!
>

-- 
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.com/d/msgid/django-users/91e61ad8-1a47-4b73-b0cf-7053056e6a21n%40googlegroups.com.


Re: Want to get informations about bets Django hosting plateform

2020-09-21 Thread Wesley Montcho
OK

THANKS

Le lun. 21 sept. 2020 à 12:50, Andréas Kühne  a
écrit :

> I don't have any experience of them - so I really don't know. I have used
> heroku (or I am using it currently).
>
> Regards,
>
> Andréas
>
>
> Den mån 21 sep. 2020 kl 13:01 skrev Wesley Montcho <
> wesleymont...@gmail.com>:
>
>> Thanks you.
>>
>>
>>
>> What do you think about Scalingo ?
>>
>> Le lun. 21 sept. 2020 à 11:29, Andréas Kühne 
>> a écrit :
>>
>>> This isn't an easy question to answer.
>>>
>>> Unfortunately there is no real "goto" shop for django. There are however
>>> several ways to accomplish this. If you want a simple startup solution -
>>> try Heroku. It'll be sufficient for small to medium sized handling and you
>>> don't need to do any setup yourself.
>>> Another "easy" alternative would be to look into google appengine -
>>> however I am not sure if it is possible to setup for python 3 ... I know
>>> this has been a problem previously.
>>> Other than those 2 I think you would need to setup your own virtual
>>> server and handle it that way - which may be the best solution as long as
>>> you know a little about it - and do it following a good guide.
>>>
>>> Regards,
>>>
>>> Andréas
>>>
>>>
>>> Den sön 20 sep. 2020 kl 17:36 skrev wesley...@gmail.com <
>>> wesleymont...@gmail.com>:
>>>
 Hi guys

 Please I want some person to help me about choosing hosting plateform
 for my Django project, a plateforme that offers an extensible offer without
 problem for migration through version of thé ptoject.

 Hope you will help me 

 --
 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.com/d/msgid/django-users/8c6c458d-00b8-4ed3-b49c-2a119d11c86en%40googlegroups.com
 
 .

>>> --
>>> 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.com/d/msgid/django-users/CAK4qSCc64_v8GXOJXXu%2B5cQMGp4vFF%2ByWsVX%3DKDtAx8bygZ_fg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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.com/d/msgid/django-users/CAGRNXvT2ubUTruYO_672P%2BYuXhETK8ru27qpK_voCWDgP57fuw%40mail.gmail.com
>> 
>> .
>>
> --
> 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.com/d/msgid/django-users/CAK4qSCf8axrDLmYK5YthF3MuSfCT4FnC_ONrWPH9XzxnPBDdNQ%40mail.gmail.com
> 
> .
>

-- 
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.com/d/msgid/django-users/CAGRNXvS4A3X8XQYRymO2MVzTzzBz2gEhr01cttYna9c9f1%3DVEA%40mail.gmail.com.


Re: I am stuck at "Installing Django on PythonAnywhere" can anyone help me ?

2020-09-21 Thread Mohammad Ahshan Danish


On Mon, Sep 21, 2020 at 7:04 PM Shahprogrammer  wrote:

> That's not the problem with installation of Django it's with your urls
>
> On Monday, 21 September, 2020 at 6:49:56 pm UTC+5:30 kashubh...@gmail.com
> wrote:
>
>> [image: Screenshot (418).png]
>>
> --
> 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.com/d/msgid/django-users/86902d30-1960-41de-b44e-61787325f2f9n%40googlegroups.com
> 
> .
>


-- 
Thanks & Regards

Regards,
Danish

-- 
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.com/d/msgid/django-users/CAPQdaF1i%2B55MfV5W-ViPNTN2BpjSqPf-_dHUrA15aosjhsijfg%40mail.gmail.com.


Re: I am stuck at "Installing Django on PythonAnywhere" can anyone help me ?

2020-09-21 Thread Shahprogrammer
That's not the problem with installation of Django it's with your urls

On Monday, 21 September, 2020 at 6:49:56 pm UTC+5:30 kashubh...@gmail.com 
wrote:

> [image: Screenshot (418).png]
>

-- 
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.com/d/msgid/django-users/86902d30-1960-41de-b44e-61787325f2f9n%40googlegroups.com.


Help with form rendering

2020-09-21 Thread Jani Seppälä
Hello all!

I'm starting developer and i have webapp project where users can register 
and participate in guessing the results of football matches. Users 
accumulate points from correct guesses. I'm having problems rendering the 
guessing view to templates the way i want it to display. I'm using SQLite 3 
and my database model for this project looks like this: 
https://docs.google.com/spreadsheets/d/1mqJjzcbmCwr2orMCiqOVbd61b_357ewENEq3TpODdog/edit#gid=0


My models.py looks like following: https://pastebin.com/mZZk1zgN. It has 3 
classes, Profile, Results and Guesses. Profile has foreign key to User 
model and Guesses has foreign key to Profile and Results. Is this okay?


My guess view takes ModelForm from Guesses model and renders it to the 
template but here is the problem. How do i render the form so that it would 
show all matches that i have put in the database and after each match a 
”guess” textbox where users put their guess(ex. 2-1, 0-0, 0-2 etc.).


My view and template looks like this: https://pastebin.com/VtTrt9hS. It 
works but user can save only one guess to database at time while i want 
user to be able to guess multiple matches at the same time before hitting 
submit(to make it simple only one guess per match is allowed).


Hopefully someone can help and if you have comments about my code, feedback 
is much appreciated! Though remember that i started Django only at this 
year so try to keep the answers simple :)

-- 
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.com/d/msgid/django-users/5b82b9f3-37d4-4370-928d-1595a471d051n%40googlegroups.com.


I am stuck at "Installing Django on PythonAnywhere" can anyone help me ?

2020-09-21 Thread Kashu Bhattarai
[image: Screenshot (418).png]

-- 
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.com/d/msgid/django-users/697e4d1c-9f17-45dd-a949-e0552d64b082n%40googlegroups.com.


Re: Want to get informations about bets Django hosting plateform

2020-09-21 Thread Andréas Kühne
I don't have any experience of them - so I really don't know. I have used
heroku (or I am using it currently).

Regards,

Andréas


Den mån 21 sep. 2020 kl 13:01 skrev Wesley Montcho :

> Thanks you.
>
>
>
> What do you think about Scalingo ?
>
> Le lun. 21 sept. 2020 à 11:29, Andréas Kühne 
> a écrit :
>
>> This isn't an easy question to answer.
>>
>> Unfortunately there is no real "goto" shop for django. There are however
>> several ways to accomplish this. If you want a simple startup solution -
>> try Heroku. It'll be sufficient for small to medium sized handling and you
>> don't need to do any setup yourself.
>> Another "easy" alternative would be to look into google appengine -
>> however I am not sure if it is possible to setup for python 3 ... I know
>> this has been a problem previously.
>> Other than those 2 I think you would need to setup your own virtual
>> server and handle it that way - which may be the best solution as long as
>> you know a little about it - and do it following a good guide.
>>
>> Regards,
>>
>> Andréas
>>
>>
>> Den sön 20 sep. 2020 kl 17:36 skrev wesley...@gmail.com <
>> wesleymont...@gmail.com>:
>>
>>> Hi guys
>>>
>>> Please I want some person to help me about choosing hosting plateform
>>> for my Django project, a plateforme that offers an extensible offer without
>>> problem for migration through version of thé ptoject.
>>>
>>> Hope you will help me 
>>>
>>> --
>>> 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.com/d/msgid/django-users/8c6c458d-00b8-4ed3-b49c-2a119d11c86en%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> 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.com/d/msgid/django-users/CAK4qSCc64_v8GXOJXXu%2B5cQMGp4vFF%2ByWsVX%3DKDtAx8bygZ_fg%40mail.gmail.com
>> 
>> .
>>
> --
> 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.com/d/msgid/django-users/CAGRNXvT2ubUTruYO_672P%2BYuXhETK8ru27qpK_voCWDgP57fuw%40mail.gmail.com
> 
> .
>

-- 
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.com/d/msgid/django-users/CAK4qSCf8axrDLmYK5YthF3MuSfCT4FnC_ONrWPH9XzxnPBDdNQ%40mail.gmail.com.


Re: Django compatibility with Django 3.0

2020-09-21 Thread o1bigtenor
On Mon, Sep 21, 2020 at 5:24 AM RANGA BHARATH JINKA
 wrote:
>
> Hi,
>
>Check this official docs from oracle.
>   https://developer.oracle.com/dsl/vasiliev-django.html
>

No writing as any kind of expert but - - - - - the url listed above links to
a document that is over 10 years old. Perhaps this process is today not
quite what it was in 2009? No way to know from the information given!

(This is becoming one of my frustrations with the internet - - - the bulk
of the search engine returns are highly unlikely to be useful - - - - those
links are almost all out of date!)

Regards

-- 
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.com/d/msgid/django-users/CAPpdf599gaOJjh2VtsE_K%3DaZ%2BPVdJd%2B2YCoxo72N-hWnjxxPbA%40mail.gmail.com.


Re: Want to get informations about bets Django hosting plateform

2020-09-21 Thread Wesley Montcho
Thanks you.



What do you think about Scalingo ?

Le lun. 21 sept. 2020 à 11:29, Andréas Kühne  a
écrit :

> This isn't an easy question to answer.
>
> Unfortunately there is no real "goto" shop for django. There are however
> several ways to accomplish this. If you want a simple startup solution -
> try Heroku. It'll be sufficient for small to medium sized handling and you
> don't need to do any setup yourself.
> Another "easy" alternative would be to look into google appengine -
> however I am not sure if it is possible to setup for python 3 ... I know
> this has been a problem previously.
> Other than those 2 I think you would need to setup your own virtual server
> and handle it that way - which may be the best solution as long as you know
> a little about it - and do it following a good guide.
>
> Regards,
>
> Andréas
>
>
> Den sön 20 sep. 2020 kl 17:36 skrev wesley...@gmail.com <
> wesleymont...@gmail.com>:
>
>> Hi guys
>>
>> Please I want some person to help me about choosing hosting plateform for
>> my Django project, a plateforme that offers an extensible offer without
>> problem for migration through version of thé ptoject.
>>
>> Hope you will help me 
>>
>> --
>> 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.com/d/msgid/django-users/8c6c458d-00b8-4ed3-b49c-2a119d11c86en%40googlegroups.com
>> 
>> .
>>
> --
> 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.com/d/msgid/django-users/CAK4qSCc64_v8GXOJXXu%2B5cQMGp4vFF%2ByWsVX%3DKDtAx8bygZ_fg%40mail.gmail.com
> 
> .
>

-- 
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.com/d/msgid/django-users/CAGRNXvT2ubUTruYO_672P%2BYuXhETK8ru27qpK_voCWDgP57fuw%40mail.gmail.com.


Re: Want to get informations about bets Django hosting plateform

2020-09-21 Thread Andréas Kühne
This isn't an easy question to answer.

Unfortunately there is no real "goto" shop for django. There are however
several ways to accomplish this. If you want a simple startup solution -
try Heroku. It'll be sufficient for small to medium sized handling and you
don't need to do any setup yourself.
Another "easy" alternative would be to look into google appengine - however
I am not sure if it is possible to setup for python 3 ... I know this has
been a problem previously.
Other than those 2 I think you would need to setup your own virtual server
and handle it that way - which may be the best solution as long as you know
a little about it - and do it following a good guide.

Regards,

Andréas


Den sön 20 sep. 2020 kl 17:36 skrev wesley...@gmail.com <
wesleymont...@gmail.com>:

> Hi guys
>
> Please I want some person to help me about choosing hosting plateform for
> my Django project, a plateforme that offers an extensible offer without
> problem for migration through version of thé ptoject.
>
> Hope you will help me 
>
> --
> 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.com/d/msgid/django-users/8c6c458d-00b8-4ed3-b49c-2a119d11c86en%40googlegroups.com
> 
> .
>

-- 
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.com/d/msgid/django-users/CAK4qSCc64_v8GXOJXXu%2B5cQMGp4vFF%2ByWsVX%3DKDtAx8bygZ_fg%40mail.gmail.com.


Re: Django compatibility with Django 3.0

2020-09-21 Thread RANGA BHARATH JINKA
Hi,

   Check this official docs from oracle.
  https://developer.oracle.com/dsl/vasiliev-django.html

On Mon, Sep 21, 2020 at 3:49 PM Vishnu Bhandari 
wrote:

> Hi folks,
> Does django 3.0 support oracle 19c database.
> If not, How can we achieve this?
>
> --
> 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.com/d/msgid/django-users/CALeETXKrCfaXJRcTgOBNV2PfTN%3DLyh-uvgmjhofCcZL%3D3ASN6A%40mail.gmail.com
> 
> .
>


-- 
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

-- 
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.com/d/msgid/django-users/CAK5m314PwwxqkUWQBLcOFAEh6dnWn9E2kRrY9q4eAt-JC86Wiw%40mail.gmail.com.


Django compatibility with Django 3.0

2020-09-21 Thread Vishnu Bhandari
Hi folks,
Does django 3.0 support oracle 19c database.
If not, How can we achieve this?

-- 
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.com/d/msgid/django-users/CALeETXKrCfaXJRcTgOBNV2PfTN%3DLyh-uvgmjhofCcZL%3D3ASN6A%40mail.gmail.com.


Re: Django Sitemap on heroku error h13

2020-09-21 Thread Omkar Parab
Put your code on github. I'll compare with my code. I've done sitemap for
my site and it's working.

On Mon, Sep 21, 2020, 8:55 AM dum dum  wrote:

> Anyone has solution for this issue?
> Please let me know
> Thanks
>
> On Mon, Sep 14, 2020 at 12:31 PM dum dum  wrote:
>
>> Update for this case:
>> I fixed the h13 error by limiting records that I pulled from database.
>> I still don't understand yet why heroku gave me that error, maybe because
>> the server spec is not good enough for my data that has lot rows to pulled.
>> I'm using heroku hobby-basic.
>>
>> Firefox:
>> I open domain/sitemap.xml
>> sitemap.xml  page generated.
>>
>> Chrome:
>> I open domain/sitemap.xml
>> redirected to "/" as I set for 404 page.
>>
>> I did:
>> - Clear cache browsers and clear build cache on heroku.
>> - try to submit sitemap.xml on google search console in chrome and
>> firefox. The results are the same.
>> Couldn't fetch the data. Because it's redirected to "/".
>>
>> Is anyone here ever experienced something like this?
>> Please kindly help, this problem got me tinkering around for months.
>>
>> Thanks
>>
> --
> 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.com/d/msgid/django-users/CANV3w%3DZpLr9OhyLQX9_UMWgyS-ZM-B0ViGn%3DdTqfPEpLT1Bfig%40mail.gmail.com
> 
> .
>

-- 
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.com/d/msgid/django-users/CAJY8mfzq_VmtMwoZ2E5Djvr%2BvTn1yGGoKhh-pitoX5V5vq7LSw%40mail.gmail.com.