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
--
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
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
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 =
.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
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
<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
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
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?
>
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
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
11 matches
Mail list logo