It's very informative and helpful , esp. for newbie to Django, it's
also looking good. How may I get to try it in my own learning projects?
eng
Begin forwarded message:
From: Cheng Zhang
Date: November 20, 2005 8:42:54 PM CST
To: django-users@googlegroups.com
Subject: OODB with Django? Was Re: ZODB Anyone ?
Informative pointer!
I read the introduction of Moellus. Seems to me that it offers a
even quicker way of rapid prototypin
Yes, to have S or not have bite me couple times during my short
period of learning Django. It looks cool but I agree that practically
it helps almost nothing. So here is my +1.
On Nov 23, 2005, at 8:03 PM, Simon Willison wrote:
Here's an easy lesson we can learn from Rails: pluralisation s
On Dec 6, 2005, at 2:35 PM, Jacob Kaplan-Moss wrote:
On Dec 6, 2005, at 12:28 AM, Adrian Holovaty wrote:
Finally, along those lines, we could introduce a vary_on_get
decorator, which, used with the NO_GET_PARAMS setting, would be an
opt-in signifying a view *does* rely on query string. This
When I look closer to the SQL statement generated by django-admin.py
for MySQL, I realize that it doesn't use 'FOREIGN KEY' clause to
enforce referential integrity.
For example:
CREATE TABLE `polls_categorys` (
`id` mediumint(9) unsigned auto_increment NOT NULL PRIMARY KEY,
`parent_i
=
{% if form.has_errors %}
{{ errors }}
{% endif %}
{% trans "edit your profile" %}
{% trans "Email" %}:
{{ form.email }}
{% if form.email.errors %}*** {{ form.email.errors|join:", " }}
{% endif %}
{% trans "Firstname" %}:
{{ form.first_name }}
{% if form.first_name.errors %}*** {{ form.first_name.errors|
join:", " }}{% endif %}
{% trans "Lastname" %}:
{{ form.last_name }}
{% if form.last_name.errors %}*** {{ form.last_name.errors|
join:", " }}{% endif %}
==
- Cheng Zhang
I don't think this gonna work. I test the idea under Python shell:
>>> from django.models.auth import users
>>> u=users.get_object(pk=1)
>>> m=users.ChangeManipulator(1)
>>> new_data=m.flatten_data()
>>> new_data
{'username': 'czhang', 'first_name': 'Zhang', 'last_name': 'Cheng',
'last_login_t
ok, here is result under Python shell:
>>> from django.models.auth import users
>>> u=users.get_object(pk=1)
>>> m=users.ChangeManipulator(1)
>>> new_data=m.flatten_data()
>>> from django.utils.datastructures import MultiValueDict
>>> mvd = MultiValueDict()
>>> mvd.update(new_data)
>>> mvd
'last
certain that such security advisory will greatly
enhance Django's image.
Thanks to the excellent work of Adrian and the whole Django team!
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
--~--~-~--~~~---~--~~
You received this me
ssor lazy, so that it would only call get_and_delete_messages()
> if that variable were accessed in the template... Thoughts?
+1.
In addition, we can save a few SQL queries every request.
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
--~--~-~--~~---
the m-list. Just to
describe the behavior, even in great details, seems still won't cut
it. Just my 2c. ;-)
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
http://www.aiyo.cn
Our 2nd Django powered site in Chinese
--~--~-~--~~~---~--~~
Y
ol. It's really
important to non-English speaking culture like us.
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
http://www.aiyo.cn
Our 2nd Django powered site in Chinese
--~--~-~--~~~---~--~~
You received this message because
just the mac.
>
> You can see it in action here:
> http://www.turbogears.org/svn/turbogears/trunk/turbogears/startup.py
>
> Look for 'def start_bonjour():"
That's one neat idea we could learn from TG. With the TG's code as an
example, it shouldn
For now, I'd just suggest using the "postgresql_psycopg2" backend.
> At some
> point, we should probably rename that one "postgresql" and rename
> the old one
> "postgresql_psycopg1" just in case people still need it.
Our sites have been using psycopg2 f
can discuss more.
BR,
Cheng Zhang
Gentoo/PostgreSQL/Lighttpd/Python/Django/jQuery Powered
(Web) http://www.aragonconsultinggroup.com
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
http://www.aiyo.cn
Our 2nd Django powered site in Chinese
2007-1-11 3:02 eas
We are
15 matches
Mail list logo