Re: Django and Mako ?

2007-01-21 Thread yi huang
On 1/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi > I'm wondering if someone tried to integrate Mako templates with Django > ? > > http://www.makotemplates.org/ > > > > > http://huangyilib.googlecode.com/svn/trunk/mashi_django/mako_django.py Check this out and mako svn now, mako

Re: Where to start with the upcoming newforms module?

2006-12-08 Thread yi huang
This may help you to read the unit tests ;-) Most editor just treat doctest as string. On 12/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > I came across the new 'newforms' page in Django documentation pages. > I am rather happy to get

Re: HTTP PUT and DELETE with Django?

2006-12-07 Thread yi huang
> > Is it possible to process HTTP PUT and DELETE requests with Django? If > so, how would I access the data uploaded in an HTTP PUT? > > (I would like to build a RESTful interface to some Django models. I > guess I can use POST to upload if I have to, but would like to try > using PUT if

Can i have a field to be set as current user id automatically in admin ?

2006-08-14 Thread yi huang
Something like auto_now option of DateField , Can i have a 'auto_current_user' field ?thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Feedjack - A Django+Python Powered Feed Aggregator (Planet)

2006-05-28 Thread yi huang
What's wrong?Request Method: GET Request URL: http://localhost/ Exception Type: KeyError Exception Value: 'REQUEST_URI' Exception Location:

Re: Fate of 0.91 projects

2006-04-13 Thread yi huang
I study django with magic-removal svn,because the magic in 0.91 is so ugly, and i'm developing a real-world application, and so far i don't meet any serious problem. I think magic-removal is stable enough to release. and i think everyone should turn to 0.92(pre-magic-removal).On 4/13/06, Adrian

Re: Model that has more options

2006-04-13 Thread yi huang
maybe you have to write a custom FormFieldOn 4/13/06, beewee <[EMAIL PROTECTED]> wrote: Hm, if you don't understand me, I'll try to explain it more clearly:I've a blog-like news site where some users can publish news using thedjango admin panel. They can enter thome things, for example subject,

where is the meta?

2006-04-12 Thread yi huang
today i update the django magic-removal svn,and install new versioni read new db-api.html , and see models.ForeignKey(Poll, edit_inline=meta.TABULAR but where to import meta module.and the old code "models.TABULAR" is wrong now. -- http://codeplayer.blogbus.com/