Re: django.db.utils.OperationalError: no such table abc

2021-10-24 Thread David Nugent
On Fri, Oct 22, 2021 at 7:09 AM Ammon Quackenbush wrote: > I think you are right. I did delete the initial migration. How do I > restore the initial migration? > > Can't you restore it from your git repo? If you're not running any sort of version control you've just hit the reason why doing so

Re: Creating some fields on the fly in django template

2021-10-24 Thread Ammar Mohammed
Hello In your case i wouldn't import all the form at once using, {{ form.as_p}} Instead try to import every single field of your form thenyou can use JavaScript to show and hide fields according to input because django can't do this kind of editing. On 24 Oct 2021 7:32 PM, "Dina Dodin" wrote:

Creating some fields on the fly in django template

2021-10-24 Thread Dina Dodin
Hi i have forms (not using Models) in some forms i want to introduce dropdown list for example in case some specific value is selected for another existing form field. i tried something if found in google but nothing seems to work for me. if someone can help me with it will be great! in html