Does django 1.3 has a ubuntu deb package released!

2011-04-29 Thread Korobase
Does django 1.3 has a ubuntu deb package released ! I have googled but get none,Any one have done this? Thanks. -- -- 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 unsubscrib

[help]django's FloatField can't insert the mysql's double type data.

2011-05-14 Thread Korobase
Hi,all! I use the django admin interface to insert a record to the mysql database, While the field is FloatField in django and the mysql field show a double type, But when I click the save button,it tell me that: Environment: Request Method: POST Request URL: http://localhost:8080/admin/main/lea

Re: [help]django's FloatField can't insert the mysql's double type data.

2011-05-14 Thread Korobase
2011/5/15 Andy McKay > > > Exception Type: TypeError at /admin/main/learndjango/add/ > > Exception Value: 'float' object is not callable > > > Please paste your model that is having the problem. > class MyItem(models.Model): title=models.CharField(max_length=1024) description=models.Char

Re: [help]django's FloatField can't insert the mysql's double type data.

2011-05-19 Thread Korobase
\\DLLs', 'C:\\Python26\\lib', 'C:\\Python26\\lib\\plat-win', 'C:\\Python26\\lib\\lib-tk', 'C:\\Python26', 'C:\\Python26\\lib\\site-packages', 'C:\\Python26\\lib\\site-packages\\PIL'] Server time:Fri, 20 May 2011 00:32:12 +0800 201

Re: [help]django's FloatField can't insert the mysql's double type data.

2011-05-20 Thread Korobase
OK,Thank you for your reply. I have resolved this problem, That a fileld name in my models.py is "save" resulting this problem. But I don't know why. the "save" can't be used as the filed name? because it's not within Python keywords and just be a method name in django. I 'll keep it in mind. T

django template extends and include problem.

2011-06-12 Thread Korobase
test case as below: 1.base.html {% block t1 %} t {% endblock %} 2.temp.html {% block t2 %} zzz {% endblock %} 3.index.html {% extends "base.html" %} {% block t1 %} kk {% include "temp.html" %} {% endblock %} 4.other.html {% extends "in

a problem about the custom login form with a verify code filed.

2011-06-26 Thread Korobase
I want to add a verify code field in the login form. So, I write a authentication_form which added a charField to generate a verify code and the verify code saved to the request.session. But When I send login form request,I find in my authentication_form, I can't campare the session's verify code a

a problem about the custom login form with a verify code filed.

2011-06-26 Thread Korobase
I want to add a verify code field in the login form. So, I write a authentication_form which added a charField to generate a verify code and the verify code saved to the request.session. But When I send login form request,I find in my authentication_form, I can't campare the session's verify code a