running on Gentoo 2006.1, Postgres
8.1.5, Lighttpd w/ scgi. The speed to the site is visually slow.
[1] http://www.linode.com/products/linodes.cfm
-Cheng Zhang
Gentoo/PostgreSQL/Lighttpd/Python/Django/jQuery Powered
(Web) http://www.aragonconsultinggroup.com
http://www.ifaxian.com
1st Django powered
ment manager located in
San Francisco, California and engineering team in Beijing, China, we
can discuss more.
BR,
-Cheng Zhang
Gentoo/Python/Django Powered
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
http://www.aiyo.cn
Our 2nd Django powered site in Chinese
--~--~-~--
the default language of this m-list, please try
not to have Chinese characters within your post, that might confuse
other non-Chinese speaking participants.
Thanks.
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
http://www.aiyo.cn
Our 2nd Django po
; also play with it. Hell, we can even make a small project "Django on a
> stick" and spread that nice warm feeling called Django to the rest of
> the world :)
>
> Ideas? Suggestions?
Cool idea, +1!
Please get something started soon.
-Cheng Zhang
http://www.ifaxian.com
1st Dj
tml
[3] http://visualjquery.com/
-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 you are subscribed to the Google Groups
"Django user
on
infrastructure open-source software like GCC, the same set of app
will run faster on the same set of hardware.
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
http://www.aiyo.cn
Our 2nd Django powered site in Chinese
On Sep 14, 2006, at 1:13 AM, Tyson Tate wrote
r experience, lighttpd + scgi is much better than that.
Again, pick what is the most comfortable one is always our guideline.
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-)
http://www.aiyo.cn
Our 2nd Django powered sit
Great.
If you get time, I suggest you update the wiki page accordingly.
- Cheng Zhang
On Jul 27, 2006, at 12:05 PM, nkeric wrote:
> hi all,
>
> Base upon Julio's mptt-0.9 which handles nested contents:
>
> http://code.djangoproject.com/wiki/ModifiedPreorderTreeTraversal
>
Adrian
Would you mind to point out which OSCON presentation it is? Just
curious. Thanks.
- Cheng Zhang
On Jul 27, 2006, at 8:46 AM, [EMAIL PROTECTED] wrote:
>
> Author: adrian
> Date: 2006-07-26 19:46:32 -0500 (Wed, 26 Jul 2006)
> New Revision: 3455
>
> Modified:
>
Of 'coz you can download everything needed on your windows box, then
transfer over.
- Cheng
On Jul 21, 2006, at 7:59 PM, Rajeshwar Singh Jenwar wrote:
> Hi ALL,
> I m new to Django.
> My linux box does not have net connection.
> Can someone suggest me how to intsall Django with MySQL on
Apache +
mod_python IMHO.
Hugo's Django scgi page (https://simon.bofh.ms/cgi-bin/trac-django-
projects.cgi/wiki/DjangoScgi) helps a lot.
We are not a high-traffic site yet, but so far, such setup has been
very stable.
- Cheng Zhang
http://www.ifaxian.com
--~--~-~--~~~---~--~---
That blog is in Russian. ;-)
On May 2, 2006, at 9:49 PM, Dmitry Medvedev wrote:
> about nginx ( http://nginx.org/ ) - this web server is similiar to
> lighttpd and i think results won't really differ a lot. I took
> django+nginx instructions from Igor Goryachev's blog (
> http://goryachev.org/
eports and other help in this
> branch. Special thanks go to the magic-removal committers, Joseph
> Kocherans, Russell Keith-Magee and Luke Plant.
We are also busy in converting our code base for http://
www.ifaxian.com to use new API lately. :-)
Cheers!
-
On the models of tutorial 1, I want to get a list of Poll, order by
how many choices it has.
class Poll(models.Model):
question = models.CharField(maxlength=200)
pub_date = models.DateTimeField('date published')
class Choice(models.Model):
poll = models.ForeignKey(Poll)
On Apr 30, 2006, at 1:31 PM, Ivan Sagalaev wrote:
>
> Cheng Zhang wrote:
>
>> I tried lookup like Article.objects.filter(id__in = []), which will
>> have SQL statement whose where clause is something like 'WHERE
>> ("poll_article"."id"
Hi, folks
I tried lookup like Article.objects.filter(id__in = []), which will
have SQL statement whose where clause is something like 'WHERE
("poll_article"."id" IN ())'. Such SQL statement is ok with SQLite
but invalid for PostgreSQL.
I work around this problem with code like:
if
Very useful. Thanks.
On Mar 23, 2006, at 4:28 AM, Daniel Poelzleithner wrote:
>
> Hi,
>
> i created a css to build a django styled API doc with epydoc.
>
> http://djangoapi.quamquam.org/ Beta Version :)
>
> I hope we can integrate it as http://api.djangoproject.com someday.
>
> kindly regards
>
check it out, it might be useful for you, although I didn't
have chance to use it yet.
Cheers
- Cheng Zhang
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
On Feb 28, 2006, at 6:11 AM, Sandro wrote:
>
> I opened up the django shell and wrote some code that I want to place
> in my views.py
> Included in this code is a very simple class. I get errors if I
> try to
> run the code, are you not supposed to put classes in views.py?
Nope AFAIK.
Why
Please search the previous email archive for discussion on such topic
like "tree view".
In fact, there is a wiki page for an implementation as well.
On Feb 8, 2006, at 11:31 AM, Shannon -jj Behrens wrote:
Hi,
I'm trying to build ye ol' bulletin board application to try out
Django. I'm
Ok, the patch is away [http://code.djangoproject.com/ticket/1258]. :-)
- Cheng Zhang
On Jan 13, 2006, at 12:40 AM, Jeremy Dunck wrote:
On 1/12/06, Rich Bakos <[EMAIL PROTECTED]> wrote:
The pymssql driver only supports DB-LIB, which is way outdated and
you
wont have access to functionality added to MSSQL after version 6.5.
This is not the best option IMHO.
Adapter class
Actually that's incorrect. Pymssql is only a thin wrapper around
FreeTDS library (http://www.freetds.org/).
AFAIK, FreeTDS works with SQL-Server 2000 pretty well.
- Cheng
On Jan 13, 2006, at 12:15 AM, Rich Bakos wrote:
Jeroen Ruigrok van der Werven wrote:
Hi Jeroen,
Can a bunch of us
On Jan 12, 2006, at 5:38 AM, Adrian Holovaty wrote:
On 1/11/06, Cheng Zhang <[EMAIL PROTECTED]> wrote:
class Entry(meta.Model):
submission_user = meta.ForeignKey(users.User)
class Friend(meta.Model):
myself = meta.ForeignKey(users.User, related_name="myself&quo
I'd like to ask a question on multiple levels of join.
My models are:
class Entry(meta.Model):
submission_user = meta.ForeignKey(users.User)
class Friend(meta.Model):
myself = meta.ForeignKey(users.User, related_name="myself",
verbose_name="myself")
friend =
On Jan 10, 2006, at 10:21 PM, Adrian Holovaty wrote:
On 1/9/06, Rich Bakos <[EMAIL PROTECTED]> wrote:
I am experimenting with Django and MS SQL and it appears that
Django is
passing parameters to MS SQL in an incorrect format.
The params are being passed in as a format string style (%s),
We discussed a bit about this topic in our project as well.
Surely that's one way to do it, or maybe the only practical way we
could come up with. But the problem is once you support more than 2
languages, keeping schema in sync will become a headache and
definitely not DRY.
- Cheng
e moved to the top of the file
from django.models import get_module
mod = get_module('portal', 'friends')
try:
f = mod.get_object(myself__id__exact=friend.get_friend().id,
friend__id__exact=friend.get_myself().id)
except (KeyError, mod.FriendDoesNotExist):
return False
I had the similar (or the same) error with my customer User_Profile
model, when I specify nothing for admin, like
admin = meta.Admin(
)
If I specify something like 'list_display', the error is gone.
admin = meta.Admin(
On Dec 13, 2005, at 10:53 PM, Alex Bondarenko wrote:
On 12/13/05, Cheng Zhang <[EMAIL PROTECTED]> wrote:
I am trying to model a category entity which has parent-child
structure. My model is:
...
If parent is as same as child, this is considered as top-level
Maybe just use "par
On Dec 13, 2005, at 9:43 PM, patrick kranzlmüller wrote:
i just wanted to create a new app using
django-admin.py startapp manage
and i get the error
ImportError: No module named django.core
by the way, i already created an app last week, which worked fine.
patrick
This is due to old
On Dec 12, 2005, at 10:11 PM, [EMAIL PROTECTED] wrote:
I was digging around the source for djangoproject.com and noticed that
in the blog model, it looks like the user has fills in the "author" as
a text field. Is there a better way for the blog to know which user
posted that entry? Can
On Nov 29, 2005, at 10:26 PM, Adrian Holovaty wrote:
class META:
db_table = 'anastas_users'
replaces_module = 'auth.users'
admin = meta.Admin()
# field names to remove from parent model
remove_fields = ['password', 'is_staff', 'is_superuser']
Would you
Looks like Django is starting to occupy the fields of news
organization, beyond the stronghold of World Online. :-)
Hopefully we will see such signs all over the world in near future,
indicating the rapid occupation/adaptation of Django, at least as a
competent counterpart of Rails.
-
Thanks. Guess I should get the habit of searching wiki, esp. the
cookbook.
On Nov 22, 2005, at 9:21 PM, Grigory Fateyev wrote:
http://code.djangoproject.com/wiki/CookBookManipulators there are two
ways to do this stuff.
Informative pointer!
I read the introduction of Moellus. Seems to me that it offers a even
quicker way of rapid prototyping. When we frequently change the model
during cycles of rapid prototyping, there is no need to manually
alter the tables in RDB to make it consistent with the model
I am curious to learn more about why "object DBs are not good fit for
the MVC-like separation". Previously I had very basic exposure to
ZODB, along with the concept of object database, when I played with
Zope a bit years ago.
Thanks.
- Cheng
On Nov 20, 2005, at 1:12 PM, Tom Tobin wrote:
37 matches
Mail list logo