Re: _unicode_ method not working?

2010-09-02 Thread Yangmin Li
if you are django's built-in development server, it will reload the changes after you've saved the changes. On Thu, Sep 2, 2010 at 12:42 PM, Kevan Stannard wrote: > I had the same problem going through the tutorial just now. I quit the > interpreter and restarted it and it seemed to pick up th

Re: What's the best way to custom the add page (in django admin site)

2010-08-23 Thread Yangmin Li
to user, others are hidden and will be given default values before being saved to database. I've already custom the change_form template to hide the fields that I do not want to show them to users. what else should I do ? On Mon, Aug 23, 2010 at 8:31 PM, Yangmin Li wrote: > Hi All , >

What's the best way to custom the add page (in django admin site)

2010-08-23 Thread Yangmin Li
Hi All , -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this g

Re: the body of an http request

2010-08-22 Thread Yangmin Li
you can access from HttpRequest.REQUEST *it is a dictionary like object.* *more info, you can refer : * http://docs.djangoproject.com/en/dev/ref/request-response/ On Mon, Aug 23, 2010 at 4:57 AM, Porya Jahandideh wrote: > Hi! > How can I access the body of an http request using an HttpRequest o

Re: one inconsistent place between django document and source code.

2010-08-10 Thread Yangmin Li
thanks On Tue, Aug 10, 2010 at 8:04 PM, Karen Tracey wrote: > On Mon, Aug 9, 2010 at 1:49 AM, yangmin...@gmail.com > wrote: > >> Hi All, >>When I was reading django document, I also viewed the source code >> of the framework to help me understand, >>but I found one inconsistent place ab