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
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
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
\\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
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
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
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
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
8 matches
Mail list logo