Re: MultiValueDictKeyError at

2020-09-23 Thread Julio Cojom
Readonly field and disbled field never send on form post.

You should workaround this, for example,  with a css class.

.disabledfield{
pointer-events: none;
opacity: 0.4;
}

or enabling with js on send click.

Regards.

El mié., 23 sept. 2020 a las 13:20, coolguy ()
escribió:

> please share the views.py and template i.e. xxx.html.  i'ts not possible
> to tell what's wrong with the provided information
>
> On Wednesday, September 23, 2020 at 11:43:36 AM UTC-4
> luca72.b...@gmail.com wrote:
>
>> Hello i have this problem :
>> MultiValueDictKeyError at
>> The view is:
>> matricola = request.POST['matricola']
>>
>> The form is:
>>
>> matricola = forms.CharField(label='Matricola',  required = False,
>> max_length=100, widget = forms.TextInput(attrs={'readonly':'readonly'}))
>>
>> the template is
>>
>> {{ form }}
>>
>> Why i get 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 this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9287bb2a-84a2-42ba-87a7-40344f75ecdcn%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/CAHRQUHkXpM5QO63S%3DG587UiJ0pmtoR%2BbuXH0BUs5OqYL%3DVm36w%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread Virendra Tripathi
Hi Harish,

I am interested. And, will be in India for 3 months starting Oct 1st week.

Please let me know your whatsapp details and I'll reach out to you.

Thanks,
Virendra


Virendra Tripathi

San Jose, CA

+1 669-216-2291

trip...@gmail.com , viren12...@gmail.com



On Wed, Sep 23, 2020 at 7:39 AM Harish Thiyagharajan <
harishthiyagh...@gmail.com> wrote:

> I want a interested django user , DM mail for more details , all the
> details including payment can be discussed ...looking for for you guys .
>
> --
> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CAFJ-21DjnjzL8Cm%3DqOz_fqVk9iZvdfxa%2BmyL2OQfgLB7%3Dnmf8A%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread Héctor Alonso Lozada Echezuría
I'm, interested

El mié., 23 sept. 2020 a las 8:40, Harish Thiyagharajan (<
harishthiyagh...@gmail.com>) escribió:

> I want a interested django user , DM mail for more details , all the
> details including payment can be discussed ...looking for for you guys .
>
> --
> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%40googlegroups.com
> 
> .
>


-- 
Héctor Alonso Lozada Echezuría

-- 
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/CADTS2YyhimvuPRQnHSB%3DAJAZEDUu3JO-GFYa5b%2BOtz%3DQkmKgrQ%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread Sani Kamal
I am interested


On Thu, Sep 24, 2020, 12:09 AM Madhav Nandan  wrote:

> I'm interested here.
>
> On Wed, Sep 23, 2020 at 9:30 PM shubham vashisht 
> wrote:
>
>> What's the job and how much is the pay?
>>
>> On Wed, 23 Sep 2020, 21:26 Alam Khazi, 
>> wrote:
>>
>>> I am interested
>>>
>>> On Wed 23 Sep, 2020, 9:07 PM Harish Thiyagharajan, <
>>> harishthiyagh...@gmail.com> wrote:
>>>
 mail me your questions , or call me or what's app, if it is a call , I
 suggest that you do it today, the more you late , the more your loss,
 already 5 applicant on the go, so please make it fast.


 On Wed, Sep 23, 2020 at 8:13 PM Anh Nguyen  wrote:

> I’m, interested!
>
> On Sep 23, 2020, at 14:23, Harish Thiyagharajan <
> harishthiyagh...@gmail.com> wrote:
>
> I want a interested django user , DM mail for more details , all the
> details including payment can be discussed ...looking for for you guys .
>
> --
> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CE1F0D68-DFB1-43DF-BF25-269F030896FD%40gmail.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/CAHg_i8hY%3Dywd12rvMVmDebSoWOR%2BxHwMx%2BApqo%3DybdAb7RU-vg%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/CABscGkTwaa81yXkhssPjmunSNRqvU6mYy3Kn7B4Yxys0Q%2BH8qg%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/CAJW_r64bniJVT-iWmAawTLNc_r1FJQPrqLxVsaU0QzpVRrz5ug%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Madhav Nandan
>
> --
> 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/CAGXYL6KxCQe%2BDvTQ6DmCUrOMObkK5D%2BKnvKQFhZfXTOGJ3OxCA%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/CAERu702GZJ2FJOgWVwtRkCSX_Cz4VMGbiwgYp6MihXp6UO2uMA%40mail.gmail.com.


Re: Help me with the view please

2020-09-23 Thread coolguy
ohh i missed that...
in your urls.py

You may be using like this with 
path('student/fee//new/', views.AddFeeView.as_view(), name='add_fee'),

Since i have overridden PK configuration in view using 
pk_url_kwarg = 'student_id', I don't have to supply pk rather i have 
replaced it with student_id...
path('fee//new/', views.AddFeeView.as_view(), name='add_fee'),

On Wednesday, September 23, 2020 at 4:00:29 PM UTC-4 dex9...@gmail.com 
wrote:

> I cant seem to put together this template for adding fee, for roll#, 
> tuition fee and remaining fee, I have managed only to create the form, can 
> you help me with that
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 22, 2020 6:10 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> how about following outputs... 
>
> On Tuesday, September 22, 2020 at 4:44:45 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your previous tips, and I have already created the 
> get_absolute_url for my DetailView and It is working just fine
>
> *def* get_absolute_url(*self*):
>
> return reverse("student_detail", *kwargs*={"pk": self.pk})
>
> I think now I can learn from you how use views to generate my output
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 22, 2020 4:32 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> 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 

Re: Help me with the view please

2020-09-23 Thread coolguy
Now that you have structure ready... you can explore new options to pull 
the report with your requirement. I just created while watching NBA 
playoffs... so design may be silly...

Did you create view for adding fee?
Here is what i have done...

from django.views.generic.edit import CreateView
from . import forms

class AddFeeView(CreateView):
model = StudentFee
pk_url_kwarg = 'student_id'  # in createview pk would be parent table pk
template_name = 'students/fee_create_form.html'
form_class = forms.StudentFeeForm

def get_context_data(self, **kwargs):
student = Student.objects.get(id=self.kwargs['student_id'])

# adds the custom 'student' key to make it available to the
# class-based view template i.e. ('students/fee_create_form.html')
kwargs['student'] = student

# a call is made to the parent class’s get_context_data() method (i.e., 
CreateView)
# to run its context set up logic, which consists of setting up the 
form reference
# which is also used in the template. Finally, the context reference 
with all the
# template context values is returned by the get_context_data() method 
for use inside
# the template
context = super().get_context_data(**kwargs)

return context

def form_valid(self, form):
# form has only 
date, type and payment but student_id is empty at this time
obj = form.save(commit=False)
obj.student_id = self.kwargs.get('student_id')
obj.save()
# submit to super to save and redirect.
return super().form_valid(form)

Now you will have access to student and studentfee variables

you do can something like this on template

Roll# {{ student.id }} - {{ student.full_name }}
Tution fees: {{ student.tution_fee }}
Remaining Tution fees: {{ student.get_remaining_fee }}

On Wednesday, September 23, 2020 at 4:00:29 PM UTC-4 dex9...@gmail.com 
wrote:

> I cant seem to put together this template for adding fee, for roll#, 
> tuition fee and remaining fee, I have managed only to create the form, can 
> you help me with that
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 22, 2020 6:10 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> how about following outputs... 
>
> On Tuesday, September 22, 2020 at 4:44:45 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your previous tips, and I have already created the 
> get_absolute_url for my DetailView and It is working just fine
>
> *def* get_absolute_url(*self*):
>
> return reverse("student_detail", *kwargs*={"pk": self.pk})
>
> I think now I can learn from you how use views to generate my output
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 22, 2020 4:32 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> 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 

Re: Help me with the view please

2020-09-23 Thread coolguy
Now that you have structure ready... you can explore new options to pull 
the report with your requirement. I just created while watch NBA 
playoffs... so design may be silly...

Did you create view for adding fee?
Here is what i have done...

from django.views.generic.edit import CreateView
from . import forms

class AddFeeView(CreateView):
model = StudentFee
pk_url_kwarg = 'student_id'  # in createview pk would be parent table pk
template_name = 'students/fee_create_form.html'
form_class = forms.StudentFeeForm

def get_context_data(self, **kwargs):
student = Student.objects.get(id=self.kwargs['student_id'])

# adds the custom 'student' key to make it available to the
# class-based view template i.e. ('students/fee_create_form.html')
kwargs['student'] = student

# a call is made to the parent class’s get_context_data() method (i.e., 
CreateView)
# to run its context set up logic, which consists of setting up the 
form reference
# which is also used in the template. Finally, the context reference 
with all the
# template context values is returned by the get_context_data() method 
for use inside
# the template
context = super().get_context_data(**kwargs)

return context

def form_valid(self, form):
# form has only 
date, type and payment but student_id is empty at this time
obj = form.save(commit=False)
obj.student_id = self.kwargs.get('student_id')
obj.save()
# submit to super to save and redirect.
return super().form_valid(form)

Now you will have access to student and studentfee variables

you can something like this on template

Roll# {{ student.id }} - {{ student.full_name }}
Tution fees: {{ student.tution_fee }}
Remaining Tution fees: {{ student.get_remaining_fee }}

On Wednesday, September 23, 2020 at 4:00:29 PM UTC-4 dex9...@gmail.com 
wrote:

> I cant seem to put together this template for adding fee, for roll#, 
> tuition fee and remaining fee, I have managed only to create the form, can 
> you help me with that
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 22, 2020 6:10 PM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> how about following outputs... 
>
> On Tuesday, September 22, 2020 at 4:44:45 AM UTC-4 dex9...@gmail.com 
> wrote:
>
> Thanks for your previous tips, and I have already created the 
> get_absolute_url for my DetailView and It is working just fine
>
> *def* get_absolute_url(*self*):
>
> return reverse("student_detail", *kwargs*={"pk": self.pk})
>
> I think now I can learn from you how use views to generate my output
>
>  
>
> Sent from Mail  for 
> Windows 10
>
>  
>
> *From: *coolguy
> *Sent: *Tuesday, September 22, 2020 4:32 AM
> *To: *Django users
> *Subject: *Re: Help me with the view please
>
>  
>
> 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 

RE: Help me with the view please

2020-09-23 Thread fadhil alex
I cant seem to put together this template for adding fee, for roll#, tuition fee and remaining fee, I have managed only to create the form, can you help me with thatSent from Mail for Windows 10 From: coolguySent: Tuesday, September 22, 2020 6:10 PMTo: Django usersSubject: Re: Help me with the view please how about following outputs... On Tuesday, September 22, 2020 at 4:44:45 AM UTC-4 dex9...@gmail.com wrote:Thanks for your previous tips, and I have already created the get_absolute_url for my DetailView and It is working just finedef get_absolute_url(self):return reverse("student_detail", kwargs={"pk": self.pk})I think now I can learn from you how use views to generate my output Sent from Mail for Windows 10 From: coolguySent: Tuesday, September 22, 2020 4:32 AMTo: Django usersSubject: Re: Help me with the view please 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()tofee = 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: 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 

Re: MultiValueDictKeyError at

2020-09-23 Thread coolguy
please share the views.py and template i.e. xxx.html.  i'ts not possible to 
tell what's wrong with the provided information

On Wednesday, September 23, 2020 at 11:43:36 AM UTC-4 luca72.b...@gmail.com 
wrote:

> Hello i have this problem :
> MultiValueDictKeyError at 
> The view is:
> matricola = request.POST['matricola']
>
> The form is:
>
> matricola = forms.CharField(label='Matricola',  required = False, 
> max_length=100, widget = forms.TextInput(attrs={'readonly':'readonly'}))
>
> the template is 
>
> {{ form }}
>
> Why i get 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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9287bb2a-84a2-42ba-87a7-40344f75ecdcn%40googlegroups.com.


Re: ModelAdmin Not work

2020-09-23 Thread coolguy
either use admin.site.register
OR
*@*admin.register(User)

On Wednesday, September 23, 2020 at 11:01:43 AM UTC-4 kkwaq...@gmail.com 
wrote:

> *models.py*
>
> [image: 1.jpg]
>
> *admin.py*
>
> *[image: 2.jpg]*
>
> *errors*
>
>
> *[image: 3.jpg]*
>
> *Object is not callable*
>
> *Please any body solutions *
>

-- 
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/00354cdd-5478-4ee5-9e44-95098e393c83n%40googlegroups.com.


Re: 'str' object is not callable

2020-09-23 Thread Khaleel Ahmed H. M. Shariff
Hi,
May Peace, Blessings & Mercy of Almighty God be on you!
The reason for 'str' object is not callable is because you have created a
string object & given parenthesis along with it. As is,
>>> x="Good Morning"
>>> x()
Traceback (most recent call last):
  File "", line 1, in 
TypeError: 'str' object is not callable
>>>
[image: image.png]
Hope this helps.

Thanks in advance.


God Bless You!
God Bless India!!
--

Love & Regards
Dr. (h.c.) Khaleel Ahmed H. M.

Managing Director, Tanzanite Realty India Private Limited

---

Human Life is Precious
Koran Surah Ma'idah Chapter 5 Verse 32:
If anyone killed a person, not in retaliation of murder, or (and) to spread
mischief in the land - it would be as if he killed all mankind, & if anyone
saved a life, it would be as if he saved the life of all mankind.


On Wed, Sep 23, 2020 at 9:24 PM Salima Begum 
wrote:

> Hi all,
>
> I am getting this error. May I know the reason why this error occurred?
>
> Here I attached two screenshots please review and let me know.
>
> Thank you
> ~salima
>
>
> --
> 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/CAMSz6b%3DgkYNkLXb6foQWr-vO5ZeU%3Draix-wp2rCNU3_eO2BxEg%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/CAMjBbiBPARJURPstmP1WZM8O_tKz3ks0%2B0wH%3DxVcbTc8zi__4A%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread Madhav Nandan
I'm interested here.

On Wed, Sep 23, 2020 at 9:30 PM shubham vashisht 
wrote:

> What's the job and how much is the pay?
>
> On Wed, 23 Sep 2020, 21:26 Alam Khazi,  wrote:
>
>> I am interested
>>
>> On Wed 23 Sep, 2020, 9:07 PM Harish Thiyagharajan, <
>> harishthiyagh...@gmail.com> wrote:
>>
>>> mail me your questions , or call me or what's app, if it is a call , I
>>> suggest that you do it today, the more you late , the more your loss,
>>> already 5 applicant on the go, so please make it fast.
>>>
>>>
>>> On Wed, Sep 23, 2020 at 8:13 PM Anh Nguyen  wrote:
>>>
 I’m, interested!

 On Sep 23, 2020, at 14:23, Harish Thiyagharajan <
 harishthiyagh...@gmail.com> wrote:

 I want a interested django user , DM mail for more details , all the
 details including payment can be discussed ...looking for for you guys .

 --
 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CE1F0D68-DFB1-43DF-BF25-269F030896FD%40gmail.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/CAHg_i8hY%3Dywd12rvMVmDebSoWOR%2BxHwMx%2BApqo%3DybdAb7RU-vg%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/CABscGkTwaa81yXkhssPjmunSNRqvU6mYy3Kn7B4Yxys0Q%2BH8qg%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/CAJW_r64bniJVT-iWmAawTLNc_r1FJQPrqLxVsaU0QzpVRrz5ug%40mail.gmail.com
> 
> .
>


-- 
Madhav Nandan

-- 
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/CAGXYL6KxCQe%2BDvTQ6DmCUrOMObkK5D%2BKnvKQFhZfXTOGJ3OxCA%40mail.gmail.com.


Re: 'str' object is not callable

2020-09-23 Thread Alam Khazi
Thank you I will try that.

On Wed 23 Sep, 2020, 9:38 PM Avi shah,  wrote:

> Try adding ''' as it can only take one string as parameter , ''' ''your
> message'' . '' your message 2 '' '''
>
> On Wed, Sep 23, 2020 at 9:24 PM Salima Begum 
> wrote:
>
>> Hi all,
>>
>> I am getting this error. May I know the reason why this error occurred?
>>
>> Here I attached two screenshots please review and let me know.
>>
>> Thank you
>> ~salima
>>
>>
>> --
>> 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/CAMSz6b%3DgkYNkLXb6foQWr-vO5ZeU%3Draix-wp2rCNU3_eO2BxEg%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/CALa7AFMcbvsLjdKDqquKw6YKiikDDyqTQEBjcNGY_fmFnVGf%2BA%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/CABscGkRc-3FJeBs9vtHoWcvbbOD7xA5r15DdmHZCXktcfcGRkw%40mail.gmail.com.


select_for_update + select_related issue

2020-09-23 Thread 'Dmitrii Ivaniushin' via Django users
Hello.
I just wanted to know, whether I run into a bug, and whether I should 
report it.

Normally select_for_update and select_related try to lock all affected rows 
in all tables. One can specify "of" for select_for_update to limit tables 
to lock (to prevent locking nullable relations).

Recently a bug was fixed, which allowed to lock parent nodes with 
multitable inheritance. But what about proxies? For me the following does 
not work. Should it?

class Parent(Model):
  foreign = ForeignKey(Foreign, null=True, blank=True)

class Child(Parent):
  class Meta:
proxy = True

class Foreign(Model):
  pass

with transaction.atomic():
  
Child.objects.select_for_update(of=('self',)).select_related('foreign').get(pk=1)

So the (pseudo) code above fails with a message "FOR UPDATE cannot be 
applied to the nullable side of an outer join"

So is this expected behaviour or a bug? What are possible workarounds for 
that?

-- 
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/b19cde81-9fb2-4226-bd24-74509b894e79n%40googlegroups.com.


Re: 'str' object is not callable

2020-09-23 Thread Avi shah
Try adding ''' as it can only take one string as parameter , ''' ''your
message'' . '' your message 2 '' '''

On Wed, Sep 23, 2020 at 9:24 PM Salima Begum 
wrote:

> Hi all,
>
> I am getting this error. May I know the reason why this error occurred?
>
> Here I attached two screenshots please review and let me know.
>
> Thank you
> ~salima
>
>
> --
> 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/CAMSz6b%3DgkYNkLXb6foQWr-vO5ZeU%3Draix-wp2rCNU3_eO2BxEg%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/CALa7AFMcbvsLjdKDqquKw6YKiikDDyqTQEBjcNGY_fmFnVGf%2BA%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread shubham vashisht
What's the job and how much is the pay?

On Wed, 23 Sep 2020, 21:26 Alam Khazi,  wrote:

> I am interested
>
> On Wed 23 Sep, 2020, 9:07 PM Harish Thiyagharajan, <
> harishthiyagh...@gmail.com> wrote:
>
>> mail me your questions , or call me or what's app, if it is a call , I
>> suggest that you do it today, the more you late , the more your loss,
>> already 5 applicant on the go, so please make it fast.
>>
>>
>> On Wed, Sep 23, 2020 at 8:13 PM Anh Nguyen  wrote:
>>
>>> I’m, interested!
>>>
>>> On Sep 23, 2020, at 14:23, Harish Thiyagharajan <
>>> harishthiyagh...@gmail.com> wrote:
>>>
>>> I want a interested django user , DM mail for more details , all the
>>> details including payment can be discussed ...looking for for you guys .
>>>
>>> --
>>> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CE1F0D68-DFB1-43DF-BF25-269F030896FD%40gmail.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/CAHg_i8hY%3Dywd12rvMVmDebSoWOR%2BxHwMx%2BApqo%3DybdAb7RU-vg%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/CABscGkTwaa81yXkhssPjmunSNRqvU6mYy3Kn7B4Yxys0Q%2BH8qg%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/CAJW_r64bniJVT-iWmAawTLNc_r1FJQPrqLxVsaU0QzpVRrz5ug%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread Alam Khazi
I am interested

On Wed 23 Sep, 2020, 9:07 PM Harish Thiyagharajan, <
harishthiyagh...@gmail.com> wrote:

> mail me your questions , or call me or what's app, if it is a call , I
> suggest that you do it today, the more you late , the more your loss,
> already 5 applicant on the go, so please make it fast.
>
>
> On Wed, Sep 23, 2020 at 8:13 PM Anh Nguyen  wrote:
>
>> I’m, interested!
>>
>> On Sep 23, 2020, at 14:23, Harish Thiyagharajan <
>> harishthiyagh...@gmail.com> wrote:
>>
>> I want a interested django user , DM mail for more details , all the
>> details including payment can be discussed ...looking for for you guys .
>>
>> --
>> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CE1F0D68-DFB1-43DF-BF25-269F030896FD%40gmail.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/CAHg_i8hY%3Dywd12rvMVmDebSoWOR%2BxHwMx%2BApqo%3DybdAb7RU-vg%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/CABscGkTwaa81yXkhssPjmunSNRqvU6mYy3Kn7B4Yxys0Q%2BH8qg%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread ule...@gmail.com
Hi,
I am available
Thanks,

Op woensdag 23 september 2020 om 16:41:48 UTC+2 schreef 
harishth...@gmail.com:

> I want a interested django user , DM mail for more details , all the 
> details including payment can be discussed ...looking for for you guys .

-- 
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/35d1b932-bb3a-49ec-9eaf-6047a5a5d650n%40googlegroups.com.


MultiValueDictKeyError at

2020-09-23 Thread luca72.b...@gmail.com
Hello i have this problem :
MultiValueDictKeyError at 
The view is:
matricola = request.POST['matricola']

The form is:

matricola = forms.CharField(label='Matricola',  required = False, 
max_length=100, widget = forms.TextInput(attrs={'readonly':'readonly'}))

the template is 

{{ form }}

Why i get 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 this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fe51409d-d219-472c-9ac6-fcaf017e268en%40googlegroups.com.


Re: Recruitment

2020-09-23 Thread Harish Thiyagharajan
mail me your questions , or call me or what's app, if it is a call , I
suggest that you do it today, the more you late , the more your loss,
already 5 applicant on the go, so please make it fast.


On Wed, Sep 23, 2020 at 8:13 PM Anh Nguyen  wrote:

> I’m, interested!
>
> On Sep 23, 2020, at 14:23, Harish Thiyagharajan <
> harishthiyagh...@gmail.com> wrote:
>
> I want a interested django user , DM mail for more details , all the
> details including payment can be discussed ...looking for for you guys .
>
> --
> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CE1F0D68-DFB1-43DF-BF25-269F030896FD%40gmail.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/CAHg_i8hY%3Dywd12rvMVmDebSoWOR%2BxHwMx%2BApqo%3DybdAb7RU-vg%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread Tobi DEGNON
Hi, you are looking for a django dev right? I'm available

Le mer. 23 sept. 2020 15 h 41, Harish Thiyagharajan <
harishthiyagh...@gmail.com> a écrit :

> I want a interested django user , DM mail for more details , all the
> details including payment can be discussed ...looking for for you guys .
>
> --
> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CACeK5bnZHw0uj9Je5Zvy3ppDiMJrr9OyFs2TszbvP1CmvN_QdQ%40mail.gmail.com.


Re: Recruitment

2020-09-23 Thread RANGA BHARATH JINKA
I am interested

On Wed, Sep 23, 2020 at 8:14 PM Anh Nguyen  wrote:

> I’m, interested!
>
> On Sep 23, 2020, at 14:23, Harish Thiyagharajan <
> harishthiyagh...@gmail.com> wrote:
>
> I want a interested django user , DM mail for more details , all the
> details including payment can be discussed ...looking for for you guys .
>
> --
> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CE1F0D68-DFB1-43DF-BF25-269F030896FD%40gmail.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/CAK5m314ejBypTU5BHmKy2bMva%2B0sRvGseNT4K3xhFmPJ3SmQFg%40mail.gmail.com.


Re: Stuck with Calculated feild

2020-09-23 Thread Kasper Laudrup

Hi Harish,

On 23/09/2020 11.27, Harish Thiyagharajan wrote:

I think you mailed me instead of mailing someone



No. If you look at the mail header, you can see this was sent to the 
django-users mailing list.


Kind regards,

Kasper Laudrup

--
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/170da9eb-ff44-4fe6-3acb-fc265a9bec62%40stacktrace.dk.


ModelAdmin Not work

2020-09-23 Thread kkwaq...@gmail.com
*models.py*

[image: 1.jpg]

*admin.py*

*[image: 2.jpg]*

*errors*


*[image: 3.jpg]*

*Object is not callable*

*Please any body solutions *

-- 
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/4e4ddd71-1b26-4976-a2a3-a19cf04f568an%40googlegroups.com.


Re: Recruitment

2020-09-23 Thread Anh Nguyen
I’m, interested!

> On Sep 23, 2020, at 14:23, Harish Thiyagharajan  
> wrote:
> 
> I want a interested django user , DM mail for more details , all the details 
> including payment can be discussed ...looking for for you guys .
> 
> -- 
> 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/7b7956bc-d239-4b63-9194-0644b8a6eeben%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/CE1F0D68-DFB1-43DF-BF25-269F030896FD%40gmail.com.


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

2020-09-23 Thread Harish Thiyagharajan
I want a django user for my project, mail me if you are interested , all 
details will be answered , DM me , Main qualification : Interest ...
On Wednesday, September 23, 2020 at 3:21:38 AM UTC+5:30 lokes...@gmail.com 
wrote:

> Looking forward to working with you.
>
> On Tue, Sep 22, 2020 at 6:09 AM ahmed.he...@gmail.com <
> ahmed.he...@gmail.com> wrote:
>
>> 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...@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
>>  
>> 
>> .
>>
>
>
> -- 
>
> 
>  
> Lokesh Kumar
> about.me/LokeshK431 
> 
>  
>

-- 
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/c6ccffbe-1434-4592-baeb-f3b235a40e78n%40googlegroups.com.


Recruitment

2020-09-23 Thread Harish Thiyagharajan
I want a interested django user , DM mail for more details , all the 
details including payment can be discussed ...looking for for you guys .

-- 
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/7b7956bc-d239-4b63-9194-0644b8a6eeben%40googlegroups.com.


Re: Stuck with Calculated feild

2020-09-23 Thread Harish Thiyagharajan
I think you mailed me instead of mailing someone

On Wed, Sep 23, 2020 at 2:47 PM Kasper Laudrup 
wrote:

> Hi eankomah,
>
> Completely unrelated, but:>  unit_price = models.FloatField()
> Don't use floats for money. It will give you all kinds of problems with
> rounding errors etc.
>
> Assuming this is just a hobby project, it's probably fine, but otherwise
> consider looking into something like:
>
> https://github.com/django-money/django-money
>
> Just an advice.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/63a264e8-c0b5-14f5-759d-0e7593b4e27f%40stacktrace.dk
> .
>

-- 
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/CAHg_i8hfKt5nMdiwNseX4DXpN12vds7NEGUf0pOAvSkd5oR8Lg%40mail.gmail.com.


Re: Want to get informations about bets Django hosting plateform

2020-09-23 Thread Ram
You many want to try Digital Ocean.

On Wed, Sep 23, 2020 at 4:33 AM Carles Pina i Estany 
wrote:

>
> Hi,
>
> On Sep/21/2020, Maksim Mislavskii wrote:
> > maybe pythonanywhere.com?
>
> I just wanted to say: I use pythonanywhere.com and I'm happy with it.
>
> It has a free tier that might be enough for the original poster.
>
> It feels closer to a standard Linux system so I feel that the deployment
> is more standard than on Heroku (in case that I want to change it).
>
> Other than that I use VPSs with Docker.
>
> Cheers,
>
> --
> Carles Pina i Estany
> https://carles.pina.cat
>
> --
> 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/20200923103115.GA23072%40pina.cat
> .
>

-- 
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/CA%2BOi5F1powOnz1fUTULf%2Bby0CdjRWsuCPJ-Pc7W0PyB5-DFS2Q%40mail.gmail.com.


Re: Want to get informations about bets Django hosting plateform

2020-09-23 Thread Carles Pina i Estany


Hi,

On Sep/21/2020, Maksim Mislavskii wrote:
> maybe pythonanywhere.com?

I just wanted to say: I use pythonanywhere.com and I'm happy with it.

It has a free tier that might be enough for the original poster.

It feels closer to a standard Linux system so I feel that the deployment
is more standard than on Heroku (in case that I want to change it).

Other than that I use VPSs with Docker.

Cheers,

-- 
Carles Pina i Estany
https://carles.pina.cat

-- 
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/20200923103115.GA23072%40pina.cat.


Re: Stuck with Calculated feild

2020-09-23 Thread Kasper Laudrup

Hi eankomah,

Completely unrelated, but:>  unit_price = models.FloatField()
Don't use floats for money. It will give you all kinds of problems with 
rounding errors etc.


Assuming this is just a hobby project, it's probably fine, but otherwise 
consider looking into something like:


https://github.com/django-money/django-money

Just an advice.

Kind regards,

Kasper Laudrup

--
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/63a264e8-c0b5-14f5-759d-0e7593b4e27f%40stacktrace.dk.