Re: How to create form to show user input and return results from DB

2020-01-04 Thread Eduardo Cervantes
1. No. The data for 2000,2010 could be in one table 2.. you can create a view that accepts get and post. Get when the user loads the page initially to fill it out and Post when they submit it. This should take them to a new page with the results or a refreshed view if you are using a JavaScript

Re: How to create form to show user input and return results from DB

2020-01-04 Thread Integr@te System
Hi friend, # dont separate bc of the same type of field on one object. ( or find more zipcode service provider for more options) # with get/post method you shoud refer more docs, it just view/create action. # consider review source, a lot comment in your code base and few err commands. Think of

Re: How to create form to show user input and return results from DB

2020-01-04 Thread victor jack
Hi Nina , just read your write up For some form of clarification to your Confusion I’ll just answer the ones I can For the database , don’t make two different ones , one database with two tables 2000 and 2010 will do just fine , just query then right. For the forms it is required to use

How to create form to show user input and return results from DB

2020-01-03 Thread nmaxbe...@gmail.com
Hi, I am creating a website that lists my states congressional districts based on the US census (i.e. 2000, 2010 and ultimately to update when the 2020 survey is completed). The entire exercise is to track how the representation could possibly change based on the US census. So far, I have a

How to create "form" from "model" with 2 foreign keys?

2020-01-03 Thread strang
Context: I'm new to Django. I've just completed the tutorial on the Docs page. I'm trying to make a coffee ordering application. Basically a person has to enter his details and select coffee along with number of cups. Now a person may select 2 or 3 of the same type of coffee, or he may select

Re: How to create form??

2018-09-23 Thread Mateusz
m/article/2017/08/19/how-to-render-django-form-manually.html W dniu niedziela, 23 września 2018 17:52:00 UTC+2 użytkownik Ansari Sabir napisał: > > How to create a form that collect information (like first name, last name, > email address, contact number, gender) and admin can see that inform

Re: How to create form??

2018-09-23 Thread Jani Tiainen
Hi. If you have done the official tutorial, part 4 is all about this exact problem. su 23. syysk. 2018 klo 18.51 Ansari Sabir kirjoitti: > How to create a form that collect information (like first name, last name, > email address, contact number, gender) and admin can see that infor

How to create form??

2018-09-23 Thread Ansari Sabir
How to create a form that collect information (like first name, last name, email address, contact number, gender) and admin can see that information in the /admin/ in django. -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

How to create form from odd model

2012-04-30 Thread Adam S
Hi, I am working with an existing database where I am unable to change the schema and having some trouble trying to deal with presenting forms. The structure in question is as follows and all models are unmanaged. class Persons(models.Model): personid =