Hello guys, i am working on a view where i m needed to pass an array of
objects into a ajax request.
the array of java script objects is like this
[{'que':1,'ans':3},{'que':1,'ans':2},{'que':4,'ans':5},{'que':2,'ans':4}]
i posted is
Guys, is it possible to call a javascript function in django templates
based on an if condition...?? What i want to do is that in
django templates if a given if condition is true i want to call a
javascript function automatically
tell me guys if it is possible or
can someoe give me some hints to attach multiple answers with a question
field
On Tue, Jan 29, 2013 at 10:17 AM, Sarfraz ahmad <sarfrazdja...@gmail.com>wrote:
> yes, i read the docs bt looking for an example which shows how can
> comments to be assigned to an object
>
>
>
> will help you to understand the documentation.
>
> Bill
>
> On Mon, Jan 28, 2013 at 11:55 AM, Sarfraz ahmad
> <sarfrazdja...@gmail.com>wrote:
>
>> How can i use django password reset method
>> unable to understand the django documentation about password r
ents/
>
> https://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/
>
> :)
>
>
> On Mon, Jan 28, 2013 at 11:13 AM, Sarfraz ahmad
> <sarfrazdja...@gmail.com>wrote:
>
>> good evening friends
>>
>> i m a new django user, i want to implement comment framework in
good evening friends
i m a new django user, i want to implement comment framework in my
app.. please help me and tell me that how can i use django comment
framework to assign comments with an object..
in my view i want to ask questions from users which can have multiple
How can i use django password reset method
unable to understand the django documentation about password reset.
--
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
updatable... whenever i tried to update the record with the form having
initial data as the record already inserted in the database this method
raise an exception while calling the is_valid() method
On Tue, Jan 22, 2013 at 7:39 PM, Sarfraz ahmad <sarfrazdja...@gmail.com>wrote:
> gusy i ha
cumentation for GenericForeignKey once more.
>>
>> Links:
>> 1.
>> https://docs.djangoproject.com/en/1.4/ref/contrib/contenttypes/#django.contrib.contenttypes.generic.GenericForeignKey
>>
>> --
>> Pankaj Singh
>> http://about.me/psjinx
>>
>>
>> On Wed, Jan 23, 2013 at 4:11
>
>
> On Wed, Jan 23, 2013 at 3:53 PM, Sarfraz ahmad <sarfrazdja...@gmail.com>
> wrote:
> > i have the same model having one foreignkey to User and second to the
> > ContentType
> >
> > class A11M1_user_itmes(models.Model):
> > A11M1F1_user=m
> http://about.me/psjinx
>
>
> On Wed, Jan 23, 2013 at 3:29 PM, Sarfraz ahmad <sarfrazdja...@gmail.com>
> wrote:
> > thanx buddy bt i wish to do it in a manner that a model which has a
> foreign
> > key to ContentType, when i make a query on this model i
ed_objects_with_model()
> >
> > get_all_related_objects() is the one I guess you may want to use in your
> case.
> >
> > Pankaj Singh
> > http://about.me/psjinx
> >
> >
> > On Wed, Jan 23, 2013 at 2:30 PM, Sarfraz ahmad <sarfrazdja...@gmail.com>
&
hello friends
i have a project with 7 applications installed in it and
i want to get all the objects related to a particular user from all the
applications of ma project. please tell me how can i get all these
objects using ContentType framework
thank you all
--
m ModelForm, then it's a matter of
>> configuring your model and form fields to allow null/blank. In this case,
>> seeing your code would help provide more direction.
>>
>> Hope this helps,
>> Jonathan
>>
>> On 01/21/2013 04:34 AM, Sarfraz ahmad wrote:
>>
n/dev/topics/forms/?from=olddocs
> https://docs.djangoproject.com/en/dev/ref/forms/validation/
>
> If you define the fields you want to with required=False, you shouldn't
> have issues
>
> Sent from my Windows Phone
> ----------
> From: Sarfraz ahmad
&g
i want to update only a few fields of a form bt not with the cleaned method
i need to validate them in a view... please tell me a solution
thenk you all
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web
Hello everyone,
i m facing a problem while validating django form.
i have 5 form fields in a form and in the view i want to validate only
three form fields which i need to update .. tell me a solution if
anyone have any
--
You received this message
17 matches
Mail list logo