does it means we have to user Admin tool?

2008-07-21 Thread Eric Liu
Hi all, after I readed the djangobook,I found if I wrote following code and I want to get some cool stuff.like auto generate the CRUD logic,I found that I have to use the Django Admin tool.I mean if I use Rails Or Grail,it can auto generate the code for me (both logic code and page code).but it

Re: does it means we have to user Admin tool?

2008-07-21 Thread Eric Liu
the Create/Update/Delete generic views on that > page. If these generic views suit your needs then you may be able to get > away with writing only some template code. > > -- Scott > > > On Mon, Jul 21, 2008 at 5:45 AM, Eric Liu <[EMAIL PROTECTED]> wrote: > >> Hi

Re: Strange tutorial behavior...

2008-04-17 Thread Eric Liu
Hi, May be you can post your source code,then we can check it whether there are some wongs with it. 2008/4/17, Jon <[EMAIL PROTECTED]>: > > > I successfully ran the complete tutorial (using version 0.96.1) on my > home machine over last weekend without incident. > > This week, I tried to bring up

Re: How to use ImageField to save images to dynamic path

2008-04-22 Thread Eric Liu
Why don't you set 'images/' as a variant.then you can change it dynamically 2008/4/23, Rishabh Manocha <[EMAIL PROTECTED]>: > > > Yea, I don't think the method I described would work for directories > (or at-least I can't figure out how). It does, however, work if you > want to add something to a

How to display the images in the template page under the django development server

2008-07-11 Thread Eric Liu
Hi all I have a lot of green in Django.When I create a app and try to show a image in the the html ,I ran into trouble that is the images can't be shown in the page.following is my page code: {%block title%}{%endblock%} My helpful timestamp site: {%block content%}{%endblock%} {% block foo

Re: How to display the images in the template page under the django development server

2008-07-13 Thread Eric Liu
x27;ll be used in Apache and mod_python? I have a lot green in django.I'll continue learn. Thanks for you help. 2008/7/11 Arien <[EMAIL PROTECTED]>: > > On Fri, Jul 11, 2008 at 4:37 AM, Eric Liu <[EMAIL PROTECTED]> wrote: > > When I create a app and try to show a im