Re: Need help in django ecommerce website to simply read a variable from different apps

2021-04-12 Thread Nijo Joseph
some offices of course with some changes, it has working paytm integration also, even I tried PayPal integration. It is there on www.kttraders.pythonanywhere.com. Glad to help if you require some help. With regards Nijo Joseph On Sun, 4 Apr 2021, 4:12 am Kasper Laudrup, wrote: > On 03/04/2

Re: What is the best Third party package for Auth in Django rest framework

2021-04-12 Thread Nijo Joseph
I think it's oauth in drf for your requirement of logging using Google, Facebook accounts. With regards, Nijo Joseph On Tue, 6 Apr 2021, 1:17 am Saad Mrabet, wrote: > Hello everyone, and hope you all doing well. > > Recently i m working on a project, and i m still new to Django,

Re: how to publish django-reactnative app on google playstore

2021-04-12 Thread Nijo Joseph
direct installation file which can be uploaded to play store for others to download and requires Google approval and so on. With regards, Nijo Joseph On Tue, 6 Apr 2021, 2:30 am Kasper Laudrup, wrote: > On 05/04/2021 22.48, Smriti Garg wrote: > > For my current project I have to publi

Re: I have two models which are associated to each other through a ForeignKey how to delete the child model object without affecting parent model object

2019-11-09 Thread Nijo Joseph
Since you are deleting the child model object none of these matters. But if you are deleting the parent model object on_delete matters. On Sat, 9 Nov 2019, 6:35 pm Jordan Micle, wrote: > when you use foreingkey you will set these options >> > here, change like this > on_delete=models.SET_NULL >

Re:

2019-11-08 Thread Nijo Joseph
In the add function. Sorry for the breaking emails sending from phone. On Fri, 8 Nov 2019, 8:11 pm Nijo Joseph, wrote: > Or the either way round instead of form = CompanyForm(request.POST), > make it PersonForm(request.POST). > > On Fri, 8 Nov 2019, 4:26 pm Paras Jain, wrote

Re:

2019-11-08 Thread Nijo Joseph
Or the either way round instead of form = CompanyForm(request.POST), make it PersonForm(request.POST). On Fri, 8 Nov 2019, 4:26 pm Paras Jain, wrote: > Hy, i am not getting my all fields on the my page which is written inside > the forms.py of 'PersonForm' > > > models.py: > from django.db

Re:

2019-11-08 Thread Nijo Joseph
def add(request): form= PersonForm() if request.method == "POST": form = CompanyForm(request.POST) if form.is_valid(): form.save(commit=True) return render(request, 'add.html', {'form':form}) What is this form for? Adding into Company table. Then make t

Re: html home file is not opening while running under django env......

2019-11-02 Thread Nijo Joseph
Just type localhost:8000/ that's all. No need home as you didn't make a route home it's blank and name is home, not route. On Sat, 2 Nov 2019, 4:07 am হজমুলা খান, wrote: > ofcourse yes otherwise it will show error > > On Friday, November 1, 2019 at 4:24:49 AM UTC, Bruckner de Villiers wrote: >>

Re: Generic Views in Django Tutorial Not Working

2019-11-01 Thread Nijo Joseph
class IndexView(generic.ListView): template_name = 'polls/index.html' context_object_name = 'latest_question_list' def get_queryset(self): """Return the last five published questions.""" return Question.objects.order_by('-pub_date')[:5] the def get_queryset(self): f

Re: Server does not see any apps

2019-11-01 Thread Nijo Joseph
What about the settings.py? i think u forgot to include Miaow in the i INSTALLED_APPS = [ 'Miaow', ] On Tuesday, October 22, 2019 at 3:37:42 AM UTC+5:30, Кирилл Лаврентьев wrote: > > Dear django-users! > > Could you please help me with Django tutorials. > I am doing the first one exectly the sa

Re: Field Select MasterDetail

2019-11-01 Thread Nijo Joseph
Check django-autocomplete light. On Friday, November 1, 2019 at 4:25:06 AM UTC+5:30, J-23 wrote: > > Hello, > I am new to Django. I have a FormFault model, which has two foreign keys > "BuildingOwner" and "Building", the key "Building" depends on > "BuildingOwner" on the form, it gives me two f

django-autocomplete id of the element

2019-11-01 Thread Nijo Joseph
Hi All, In Django autocomplete how to get the id of the element to use in jquery script. With regards, Nijo -- 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

Re: FormSet.is_valid() raises ValidationError

2019-11-01 Thread Nijo Joseph
Hi, In case of {{ formset }} no probs. but in case of *{{ formset.management_form }}* {% for form in formset %} {{ form }} {% endfor %} *{{ formset.management_form }} is required and of course * {% csrf_token %}. Ref https: