hi group,
How to compare date field types in a template ,a have field due_on
taking DateField type .I have to compare to present date .I have tried
the following in vain ,please help
In a template
{% if enquiry.due_on >= datetime.datetime.today %} .{% end if %}
and
{% if enquiry.due_on__gt dat
hi group,
I am struck with this strange error message
Request Method: GET
Request URL:http://127.0.0.1:8000/admissions/enquiry/add/
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'source'
Exception Location: /usr/local/lib/python2.6/dis
Hi friends,
It could be helpful if someone suggest me to find a way to show
Progress Bar while django is processing to send mails .I have a form
where list of email Id's are displayed with checkbox and user selects
those and submits.Here i need to show a progress bar till django
finished its proce
Hi,
I'm not going to integrate my application into facebook platform
I just registered my app to get the api key
In that case what are all the facilities i can avail from facebook
apart from using facebook for authentication
1. Can i get users friends list
2. will my application be allowed to send
hi,
My app connects to Facebook and as user logins in with facebook
connect ,i intent to display users friends list .I the process of
doing so i have written a code as pasted below
FB_RequireFeatures(["XFBML"],function()
{
FB.Facebook.init
("2654d333c10576bae931ba210f288314","xd_receiver.htm"
hi group,
my application needs to send SMS occasionally to all the clients .Is
there any library in python that supports in sending SMS.
I like to conform few information i gathered in this regard.
I can send SMS by two ways
1. Sending SMS using Email clients
2. Using sms gateway to send messag
hi,
i wrote
def after_save(sender,instance,created,**kaw):
instance.acct_number ='RBSB' + str(instance.id)
instance.save()
post_save.connect(after_save,sender=Selector)
once when i save it gives out error like
"maximum recursion depth exceeded in cmp "Exception
I 'm
hi,
The post save functionality is not working fine for me , please
rectify mu faults ,
i have tried 2 ways to access post save functionality but both failed
( shown below as no :1 and no: 2 )
i case of no: 1
i got the o/p of line no 12 in the server but after saving ,line no 14
is not displaye
thanks for your reply
On Feb 13, 3:40 pm, bruno desthuilliers
wrote:
> On 13 fév, 10:51, gganesh wrote:
>
> > hi
> > can i insert manually the values for fields before save method is
> > called
> > example in models.py i have
> > class Auto(...)
know the id
> self.account_number = "X"+self.id
> self.save()
>
> The syntax may be wrong as i have did not do it earlier
> The core idea is to override the save and then call its parent to save
> the object,after saving using that object id form account number
> and s
hi
can i insert manually the values for fields before save method is
called
example in models.py i have
class Auto(...)
auto_name=models.CharField(..)
my question is can i populate auto_name ='xyz' and then save by
calling super class save method ,
--~--~-~--~~~---
hello ,
i will be glad to find your help in the task mentioned below ,
i need to create a account_number column which is a concat of id
column and with some variable ,for example, if my id column is 1 ( id
=1) and account_number should be X1(account_number=X1) and if my id is
2 the account_number
hi ,
help to find the difference between get() and filter() function in
django ,both seems to retrieve records from data base .
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
hi Django floks
i'm newbie to Django ,i have a task like
People have to register with their email in the index page , to enter
into my site and, to protect my site from unwanted usage, i need to
integrate captcha .i will be glad to find a help from you
thanks in advance
--~--~-~--~~-
14 matches
Mail list logo