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 i
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 not
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 wrote:
> yes, i read the docs bt looking for an example which shows how can
> comments to be assigned to an object
>
>
> On Mon, Jan 28, 2013 at 10:49 PM
will help you to understand the documentation.
>
> Bill
>
> On Mon, Jan 28, 2013 at 11:55 AM, Sarfraz ahmad
> wrote:
>
>> How can i use django password reset method
>> unable to understand the django documentation about password reset.
>>
>>
dev/ref/contrib/comments/custom/
>
> :)
>
>
> On Mon, Jan 28, 2013 at 11:13 AM, Sarfraz ahmad
> wrote:
>
>> 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 c
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
answers
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 un
eld is not
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 wrote:
> gusy i have form which has 5 fiel
ocs.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 PM, Sarfraz ahmad
>> wrote:
>> > i dont found
gnKey(ContentType)
> >> ...
> >>
> >> And you want to run a query on MyModel which should return objects
> >> from various apps related to currently logged in User.
> >>
> >> Is this what you want to achieve?
> >>
> >> Panka
; http://about.me/psjinx
>
>
> On Wed, Jan 23, 2013 at 3:29 PM, Sarfraz ahmad
> 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 it returns all the
> > objects from var
ects_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
> wrote:
> >> hello friend
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
--
You
figuring 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:
>>
>> Hello everyone,
>>
>>
lddocs
> 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
> Sent: 1/21/2013 1:59
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 visi
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 because
17 matches
Mail list logo