go app is 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 Djang
quite powerful.
Another happy Django story. :-)
+1! Looking forward to.
-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
--~--~-~--~~~---~--~~
You r
ou are interested in working with engagement 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 powe
zsp007:
Because English is 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:/
ou can
> 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.
ine.html
[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
h the improvement 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
ent
methods. In our 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 2n
packages/py24-fat/index.html immediately.
With the combined help from that link, easy_install and darwinports
(now rename as macports)/fink, the Mac ride will be flawless.
-Cheng Zhang
http://www.ifaxian.com
1st Django powered site in Chinese ;-
> share
>
> thanks a lot
> as i m doing an aggregator, i need to display these icons next to the
> content
> so i was asking if some1 has experience doing this
> thanks
>
I found this article (http://www.kryogenix.org/days/2005/01/31/
favatarsUrlparse) might be
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 Linux
Great collection. :-)
Will it be more informational if there is one line of summary for
each tutorial?
- Cheng
On Jul 18, 2006, at 3:34 AM, [EMAIL PROTECTED] wrote:
>
> Hi all,
>
> I put together a compilation of 30 Django tutorials. They're mostly
> from the community page but I think it's n
than 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/ )
reports 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. :-)
Chee
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)
cho
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 len(id_l
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
>
On Mar 4, 2006, at 3:12 PM, limodou wrote:
>
> I'v written a expression tag, it can be used to calculate python
> expression and save the result to a template variable. I think it
> maybe some useful for someone.
Indeed. I just found a place to use it in our app. :-) Thanks.
- Cheng
--~--~--
-headers). If you
didn't 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&qu
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 do
On Feb 28, 2006, at 5:48 AM, kent wrote:
> PS I tried submitting this as a patch in the tracker but I didn't see
> any 'attach file' button...
The 'attach file' button will appear after you create the ticket. :-)
- Cheng
--~--~-~--~~~---~--~~
You received this
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 ha
On Jan 21, 2006, at 7:12 AM, Jeremy Dunck wrote:
On 1/20/06, Cheng Zhang <[EMAIL PROTECTED]> wrote:
Adapter class over adodbapi where supported, falling back to
pymssql?
I think they (ado_mssql and pymssql) are meant for different OS
platforms, in that ado_mssql is for Django runn
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 o
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 ge
nd my mind started to blur. I will
try to finish up tomorrow, clean up, and submit patches.
Please NOTE that this pymssql is different with the existing
ado_mssql. It can run on *nix, 'coz I am hacking on my Mac.
Cheers.
- Cheng Zhang
-
'basic' module: API test
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 = meta.ForeignKey(users.U
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.
-
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.
-
ne can't be 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.Frien
Cool, feels like have been waiting for this video forever. ;-)
Special cheers to Jacob's video editing efforts. I know how painful
it could be.
- Cheng Zhang
On Jan 5, 2006, at 10:20 PM, Adrian Holovaty wrote:
Last month, there was a Django/Rails meetup in Chicago, at which I
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(
lis
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
I am trying to model a category entity which has parent-child
structure. My model is:
class Category(meta.Model):
parent = meta.ForeignKey(Tag, related_name="parent_category")
child = meta.ForeignKey(Tag, related_name="child_category")
class META:
admin
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 *.py
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 tha
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 p
It's possible, based on my limited knowledge of Django. I think such
usage is more like using a Python library.
In your case, you need to set the environment variable
DJANGO_SETTINGS_MODULE as shown in tutorial 1, e.g. export
DJANGO_SETTINGS_MODULE=myproject.settings
- Cheng
On Nov 24, 2
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.
- Che
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.
How do I specify default value for a form field, which maps to a
foreign key as Poll.submitted_user shown below, with manipulator, in
particular AddManipulator? I couldn't find relevant information from
the django-users archive, at least searching with keywords:
manipulator, default didn'
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 over
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:
50 matches
Mail list logo