Creating Forms from frontend like Google Survey Forms

2017-07-26 Thread Shazia Nusrat
Hi, I need to develop a view that can help end-users create forms from the frontend like SurveyMonkey or Google Survey Forms. Basically I need to get admin forms at frontend and let the user's create forms on given set of fields. Can anyone point me to right direction please? Thanks. Shazia --

Issue with "Creating forms from Modules"

2014-07-10 Thread Don Fox
While typing in the code in https://docs.djangoproject.com/en/1.7/topics/forms/modelforms/ I get a a Name Error that doesn't seem related to any omitted import module. I'm running this is the shell that has the settings* './manage.py shell' * where I have a project reflecting this particular

Re: Some creating Forms from models snags.

2014-07-10 Thread Don Fox
Problem went away after PyCharm indicated that two imports be removed? Not really sure whet the problem was! On Wednesday, July 9, 2014 12:09:40 AM UTC-4, Lachlan Musicman wrote: > > On 9 July 2014 13:19, Don Fox wrote: > > > > > > I should have mentioned that I already

Re: Some creating Forms from models snags.

2014-07-08 Thread Lachlan Musicman
On 9 July 2014 13:19, Don Fox wrote: > > > I should have mentioned that I already had this method in the models.py: > > class Article (models.Model): > pub_date = models.DateField() > headline = models.CharField(max_length = 30) > content =

Re: Some creating Forms from models snags.

2014-07-08 Thread Don Fox
.TextField() > author = models.ForeignKey(Author) > > That should help. > > cheers > L. > > On 9 July 2014 11:31, Don Fox <foxd...@gmail.com > wrote: > > In the Creating forms from Models documentation > > https://docs.djangoproject.co

Re: Some creating Forms from models snags.

2014-07-08 Thread Lachlan Musicman
dels.Model): > name = models.CharField(max_length=25) > body = models.TextField() > author = models.ForeignKey(Author) > > That should help. > > cheers > L. > > On 9 July 2014 11:31, Don Fox <foxdo...@gmail.com> wrote: >> In the Creating forms from Model

Re: Some creating Forms from models snags.

2014-07-08 Thread Lachlan Musicman
<foxdo...@gmail.com> wrote: > In the Creating forms from Models documentation > https://docs.djangoproject.com/en/1.6/topics/forms/modelforms/ I'm having > some problems. > > First I'm placing the code from the first block (green section), where the > class ArticleForms

Some creating Forms from models snags.

2014-07-08 Thread Don Fox
In the Creating forms from Models documentation *https://docs.djangoproject.com/en/1.6/topics/forms/modelforms/ *I'm having some problems. First I'm placing the code from the first block (green section), where the class ArticleForms is defined in the shell in a *forms.py *file in a myapp app

Re: Creating forms

2009-08-25 Thread Alex Gaynor
On Tue, Aug 25, 2009 at 2:40 PM, tom wrote: > Hi all, > > i want to create a form with django. the form should look like a matrix > (or like an excel/oocalc sheet). i attached a screenshot how the form > should look like. > can anybody tell me how to do this with django? >

Creating forms

2009-08-25 Thread tom
Hi all, i want to create a form with django. the form should look like a matrix (or like an excel/oocalc sheet). i attached a screenshot how the form should look like. can anybody tell me how to do this with django? Cheers tom --~--~-~--~~~---~--~~ You received

creating forms from models using newforms

2007-01-13 Thread ashwoods
on irc there was more than one who were really interested in creating forms from model defintions are were really sad that newforms does not do this. but! the newforms documentation isn't nearly finished, so if you are really impatient, just dive into the code yourself :) or if you read