Hi, I am trying to learn how to use if statements. I need a form to appear on 2 pages.
Also how does flatpages work? I was given by my workplace a zip file that contains the flatpages html pages. I used the admin to add flatpages and I added a template. I then have 4 pages. Currently these pages are missing some contect. I can see images appearing on each page right. Yet I can't see forms nore any text which ends up to be in the html files that are stored in the flatpages. How can I have the forms delcared in the flatpages html files ? I also need to know how I can use a if equal with 2 arguements meaing if either 2 of the pages are loaded then load the form. I am new to django and I did look at the documentation. How can I use a if statement to show only a request form to only 2 pages? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---