Re: Dynamic Serial Number

2020-08-15 Thread neeraj garg
You can put loop counter. On Sun, Aug 16, 2020, 9:29 AM kushal@gmail.com wrote: > Greeting all, I want to put Serial Number instead of ID. How can i make > dynamic SN in view. Thanks. > > [image: Capture.PNG] > > -- > You received this message because you are subscribed to the Google Groups

Re: Security issue in django.db.models

2020-08-07 Thread neeraj garg
It basically sets a null value i.e. "" for the fields that you don't pass while creating an object in shell. And "" it acceptable value. If you want to restrict "" then add some validations. On Fri, Aug 7, 2020, 5:16 PM Juan D. wrote: > I've created a model with null and blank set to False in ro

Re: Python-django project

2020-08-05 Thread neeraj garg
Hi Guys, Could you please give me a clue what kind of project you are planning to build? On Wed, Aug 5, 2020, 8:23 PM jhabar singh wrote: > Sapna, Can you tell me something about your project? > > On Wed 5 Aug, 2020, 5:22 PM yammunap...@gmail.com, > wrote: > >> Dear I am interested to join wit

Re: Problem in user creation

2020-08-04 Thread neeraj garg
You could use django signals which will keep the models in sync. On Tue, Aug 4, 2020, 9:16 PM sonam pankaj wrote: > > > Hi, > there is a problem when doing profile model using contrib.auth , > sometimes profile is created without user so they went out of sync. How to > make sure

Re: field for html

2020-08-03 Thread neeraj garg
Try to use django *safe *filter to render this as html. On Mon, Aug 3, 2020 at 8:35 PM Kovy Jacob wrote: > Hi, is there a type of field for django data models that's for html? I > want to have youtube embed links, which is a bunch of html fo putting a > youtube video on your site. Itlooks like t