Re: Required Python Django developers

2020-06-07 Thread Metehan Gülaç
I'm interested. 7 Haz 2020 Paz 16:49 tarihinde RAVI KUMAR şunu yazdı: > Hi, I'm interested > > On Saturday, June 6, 2020 at 8:39:37 PM UTC+5:30, maninder singh Kumar > wrote: >> >> Dear all, >> >> We require python django developers for a HR project. Please answer to >>

Re: Form not being published

2020-03-30 Thread Metehan Gülaç
There is no problem in the code. Look again at the quote and typos in the form class. and do a trial with this view: from django.shortcuts import render from django.http import HttpResponseRedirect from .forms import CommentForm def my_view(request): if request.method == 'POST':

Re: Forienkey to same table

2020-03-30 Thread Metehan Gülaç
first of all, you can remove the *1. id (pK)* line. django already create this field for you in background. I think you want to reference id field of A table to himself; it is known as *recursive relationship*. Speaking the which, you can use: models.ForeignKey('self',

Re: Suggestions for django restframework project

2020-03-29 Thread Metehan Gülaç
you can create a Chuck Norris API for yourself. A different joke will come in response to every GET request you send to the URL I gave at the bottom ;) https://api.chucknorris.io/jokes/random 29 Mart 2020 Pazar 19:11:00 UTC+3 tarihinde sanka nanaji yazdı: > > Hi everyone, > > Could someone