Re: Difficulty Rendering a Form

2023-05-18 Thread Brian Gitau
create a forms.py file add into the file import from django.forms import ModelForm from .models import * #the asterisk means you are importing everything from the models class name_of_form(models.ModelForm): class Meta: model = your_model fields='__all__'

Re: Difficulty Rendering a Form

2023-05-18 Thread ALBERT ASHABA AHEEBWA
Hi Mike, Ammar was just trying to answer a question given so limited information. With that in mind the best he could do was send you to the documentation. There was no need to be rude. If you need any help, show what you have done, then show what you want done or desired outcome. Then people

Re: Difficulty Rendering a Form

2023-05-17 Thread Michael Starr
I disagree. I think it's a mess. Also I'm banned from youtube for posting spoken word poems. Thank you for being useless. Mike On Tuesday, May 16, 2023 at 12:06:23 PM UTC-7 Ammar Mohammed wrote: > Hi Mr Starr > The documentation is very clear and helpful. > Check the forms section > >

Re: Difficulty Rendering a Form

2023-05-16 Thread Ammar Mohammed
Hi Mr Starr The documentation is very clear and helpful. Check the forms section https://docs.djangoproject.com/en/4.2/ref/forms/api/#outputting-forms-as-html Note that you should put your form variable in a double curly Like this : {{ signup_form }} <\form> Regards Ammar Mohammed

Re: Difficulty Rendering a Form

2023-05-16 Thread Salaudeen Ridwan
check corryshaffer tutorial on youtube On Tue, May 16, 2023, 7:54 PM Michael Starr wrote: > I am having difficulty rendering a form. Does anyone have a CONCISE > tutorial for me? > > Michael > > -- > You received this message because you are subscribed to the Google Groups > "Django users"