Re: Error after python manage.py runserver

2006-03-21 Thread limodou
can be existed in everywhere. Before you run the server, you should use manage.py to run the server, it'll automatic add DJANGO_SETTINGS_MODULE for you and also the PYTHONPATH. And if you run on apache, you should configure the http.conf, and add your project path to sys.path(see the mod_pyth

Re: django pastebin

2006-03-20 Thread limodou
On 3/21/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > dunno if it is possible, but could the default language in django > pastebin be set to python instead of php? I don't understand what you are talking about? -- I like python! My Blog: http://www.don

Re: on line chages

2006-03-20 Thread limodou
e > changes button cause may be he will not like the change when he submit > it and he change his mind > I think you need do these things yoursef. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~

Re: django problem at dreamhost

2006-03-19 Thread limodou
init__.py that's ok. If you need models.py: >models.py if you need urls.py >urls.py if you need views.py >views.py >filename represents create a empty file, and you can copy code from existed files to it. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Mail

Re: How to populate a form with multiple values

2006-03-17 Thread limodou
On 3/17/06, PythonistL <[EMAIL PROTECTED]> wrote: > > Limodou, > I have the custom manipulator, see the beginning of this thread. > But I do not know how to populate data from that manipulator to the form > the data passed to FormWrapper should match the name of FormField&#x

Re: How to populate a form with multiple values

2006-03-17 Thread limodou
need to clean all those stale tables I think is sometimes not a problem. Because you maybe want to save the information about shopping cart, and when the user login later, he can continues his shopping. -- I like python! My Blog: http://www.donews.net/limodou NewEdit

Re: How to populate a form with multiple values

2006-03-17 Thread limodou
k you for the reply > I think ChangeManipulator is concerned to a single object, but what you will deal with are many objects, so you should create a custom manipulator yourself. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http:

Re: How to populate a form with multiple values

2006-03-17 Thread limodou
On 3/17/06, PythonistL <[EMAIL PROTECTED]> wrote: > > Limodou, > Thank you for your reply. > And do you have any idea how FormWrapper should be used? > In my shop project I need to provide a feature to a user , when he > does/finish shopping to be able to check all items

Re: How to populate a form with multiple values

2006-03-16 Thread limodou
I think manipulator only deal with validation and saving. If you want to fill the data to the input fields, you should pass the data to FormWrapper. So manipulator isn't data-sensitive, it's FormWrapper do these things. -- I like python! My Blog: http://www.donews.net/limodou NewEdi

Re: Eclipse based Django IDE???

2006-03-15 Thread limodou
PyDev. > > > doug. > I'v finished some works in NewEdit, but only used for myself, and the functionity is somewhat insufficiency. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~

Re: Customs Manipulator

2006-03-15 Thread limodou
In my form I would like the field_name CategoryF to be shown as a > selection list. > What must i do?( Now it does not work, I get the error :unpack > non-sequence > Thank you > L. > > choices should be defined as [(value1, 'label string1'), (value2, 'label

Re: import calendar

2006-03-12 Thread limodou
be the app I created in my project called calendar :) You > can tell I'm new to Python (and Django) > > Thanks for the quick reply. > Because I'v also made this mistake as you before. :P -- I like python! My Blog: http://www.do

Re: import calendar

2006-03-12 Thread limodou
x27;t Django 'see' the method monthcalendar? > I guess there maybe a same named file calendar.py or calendar package in your directory, which is duplicated with python calendar.py module file. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups

Re: django with mod_python

2006-03-10 Thread limodou
['D:/your_django_project_parent_directory'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE poll.settings > PythonDebug On > PythonAutoReload On >

Re: login page

2006-03-10 Thread limodou
dnt match response! > > any clues > > many thanks maybe you should: from django.contrib.auth.models import SESSION_KEY if user.check_password(request.POST.get('password', '')): request.s

Re: render_to_response mime type definition

2006-03-10 Thread limodou
> right. But in the developing period, exchange is more important :P -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: render_to_response mime type definition

2006-03-10 Thread limodou
efine a DEFAULT_CHARSET option in settings.py. Which is defined originally in django/conf/global_settings.py. You can just defined it in settings.py, and this will overwrite the original one. Try it. -- I like python! My Blog: http://www.donews.net/l

Re: Template question

2006-03-10 Thread limodou
} + {{ var 2 }} > I'v develop a custom tag for second thing, you can try it: http://groups.google.com/group/django-users/browse_thread/thread/6c1c162e7dd5d0d8/ce3aa7e2e3d48ae1#ce3aa7e2e3d48ae1 -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist:

Re: Breaking up long lists

2006-03-10 Thread limodou
On 3/10/06, Rob Slotboom <[EMAIL PROTECTED]> wrote: > > I've added an example view and template at: > > http://code.djangoproject.com/wiki/CookBookViews > Can you compare your appoach with paginator shipped with django? -- I like python! My Blog: http://www.donews.ne

Re: why is my view for a submitted form not getting a POST?

2006-03-09 Thread limodou
Please check this document http://code.djangoproject.com/wiki/NewbieMistakes It seems that you lost a '/' after action name "rated". -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.goog

Re: stringformat in template

2006-03-08 Thread limodou
; But how to use it in the template??? > Where and how do you use it, in template or in custom tag code? -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ You received this mes

Re: Django filter hack

2006-03-08 Thread limodou
it toggable. If you want to aply a > filter, show it. If not, leave it there and browse the listings. > > I documented it here, and you can also see some images on how it looks: > http://andu.417.ro/blog/django_filter_hack.html > I'v seen that already. It's good. -- I like pyt

Re: Way to validate database inserts/updates not associated with forms?

2006-03-07 Thread limodou
ect, you should convert context object to a dict, just like: clist = list(context) clist.reverse() d = {} for c in clist: d.update(c) And d will be the dict data. -- I like python! My Blog: http://www.donews.net/limod

Re: Way to validate database inserts/updates not associated with forms?

2006-03-07 Thread limodou
coming in off an XML feed and being inserted or updated into a Django > model. > > Can someone point me in the right direction? > You can still create a Manipulator object to validate your data. -- I like python! My Blog: http://www.donews.net/limodou NewEdit

Re: Can/Should I place python objects in Django Session?

2006-03-06 Thread limodou
al way. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Django & Rico

2006-03-06 Thread limodou
You can use it just as you wish. You can put the code in template, that's ok. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ You received this message because you are

Re: Will Python dominate after Ruby on Rails?

2006-03-05 Thread limodou
On 3/6/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 3/5/06, limodou <[EMAIL PROTECTED]> wrote: > > http://oodt.jpl.nasa.gov/better-web-app.mov > > > > Which compared J2EE, Rails, Zope, TurboGears and Django for both hello > > world and a time tra

Fwd: Will Python dominate after Ruby on Rails?

2006-03-05 Thread limodou
I found some interesting ideas in this article. And also an interesting screencast in the blog. http://oodt.jpl.nasa.gov/better-web-app.mov Which compared J2EE, Rails, Zope, TurboGears and Django for both hello world and a time tracker. -- I like python! My Blog: http://www.donews.net/limodou

Catch tag

2006-03-04 Thread limodou
d define as "%r as var_name"' % (tag_name, tag_name) var_name = m.groups()[0] nodelist = parser.parse(('endcatch',)) parser.delete_first_token() return CatchNode(nodelist, var_name) do_catch = register.tag('catch', do_catch) I hope this tag will be

An expression tag

2006-03-03 Thread limodou
expr_string, var_name) do_expr = register.tag('expr', do_expr) -How to use it- {% load utiltags %} {% expr 1 as a %} {% expr 2 as b %} {% expr a+b as c %} {{ a }}+{{ b }}={{ c }} -- I like python! My Blog: http://www.donews.net/l

Re: Bug report [admin]

2006-02-21 Thread limodou
On 2/22/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 2/21/06, limodou <[EMAIL PROTECTED]> wrote: > > > > I don't know if it's a bug in Admin. > > > > Any suggestion? > > Have you checked the bug database? There are a few

Bug report [admin]

2006-02-21 Thread limodou
t;."user_id","user_profile_userprofile"."portrait","user_profile_userprofile"."blog_setting_id" FROM "user_profile_userprofile" ORDER BY "auth_user"."username" DESC' There is exactly not auth_user and user_profile_userprofile tab

Re: Can't change '[algo]$[salt]$[hexdigest]' passwords!!!

2006-02-20 Thread limodou
auto change the password to sha1 arthmetic and store the password just like the format. Hope this will be helpful. > > Running Django-0.91, postgresql-8.1.2, apache_2.0.55, > Python 2.4.2 on Windows 2000 > > Thanks > Ben -- I like python! My Blog: http://www.donews.net/limodou NewEd

Re: How to pass a variable as parameter to a tag

2006-02-17 Thread limodou
On 2/17/06, Maniac <[EMAIL PROTECTED]> wrote: > > limodou wrote: > > >{% calendar year month %} > > > > > It's perfectly possible (strange I can't find it in the docs now but I > knew it from there). > > In your tag function you should wra

Re: How to pass a variable as parameter to a tag

2006-02-16 Thread limodou
ut how about: {% mytag {{object.name}} %} I'v seen that there is a new tag SET in developing. I hope it can be some helpful. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ You r

Re: admin on "/" unable to find media

2006-02-15 Thread limodou
On 2/15/06, Maniac <[EMAIL PROTECTED]> wrote: > > limodou wrote: > > >If you are using the lastest svn, why your output is not the same as me? > > > > > Because 0.92 is a magic-removal branch, not the trunk which 'latest svn' is. > You are righ

Re: How to pass a variable as parameter to a tag

2006-02-14 Thread limodou
= context.get('user', None) > if user.is_anonymous(): > return "" > return "User > Prefs"+str(user)+" > " > > work? > I think it can work. But this appoach skips parameter. I'll use it for now. Thanks. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

How to pass a variable as parameter to a tag

2006-02-14 Thread limodou
work. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: admin on "/" unable to find media

2006-02-14 Thread limodou
On 2/15/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Wednesday 15 Feb 2006 9:21 am, limodou wrote: > > If you are using the lastest svn, why your output is not the same > > as me? > > no idea > > > > Does you use apache? > > yes >

Re: admin on "/" unable to find media

2006-02-14 Thread limodou
On 2/15/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Wednesday 15 Feb 2006 8:36 am, limodou wrote: > > > > > (r'^admin/', include('django.contrib.admin.urls.admin')), > > > > > > > > Which version do you use? I

Re: admin on "/" unable to find media

2006-02-14 Thread limodou
On 2/15/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Wednesday 15 Feb 2006 8:11 am, limodou wrote: > > > (r'^admin/', include('django.contrib.admin.urls.admin')), > > > > Which version do you use? It seems that the syntax is for

Re: admin on "/" unable to find media

2006-02-14 Thread limodou
;^admin/', include('django.contrib.admin.urls.admin')), > Which version do you use? It seems that the syntax is for 0.91. If you are using 0.92, the above should be: (r'^admin/', include('django.contrib.admin.urls')), -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: recommended javascript books/tutorials/howtos?

2006-02-14 Thread limodou
interaction. > > thanks, > gabor > There is a website focus on events that occurs in ajax and javascript world, you can take a look. http://ajaxian.com/ And mochikit maybe a very good startpoint. http://mochikit.com/ -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: Template engine error?

2006-02-10 Thread limodou
nly raise it's own exception. So I suggest that may be the error infomation can be shown more? -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ You received this message

Re: Django and PCMEF vs MVC

2006-02-10 Thread limodou
interesting, but > hopefully somebody might find use of it or interest in it. > good! I don't hear about PCMEF before. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit --~--~-~--~~~---~--~~ Y

Re: truncate html filter?

2006-02-08 Thread limodou
haracters, if the number reaches what you want, then close the tag(if need) and output the text. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

ANN:DjangoInstall package 0.1 released

2006-02-08 Thread limodou
I'm very pleased to announce that DjangoInstall package 0.1 released. = Django Install Package = :Author: limodou ([EMAIL PROTECTED]) :Blog: http://www.donews.net/limodou :Date: 2006-02-09 What's it? === It

Re: scale of auth system

2006-02-07 Thread limodou
d only orders for that user... > """ > > The authors don't say the phrase "row level security", but that's > exactly what it is. > Some critiques to my ACL proposal argued for the example in exerpt 2. I > now happen to agree with them. :-) > +1 Great idea. I also think the Model can support user relative record set is very useful. And I also need it. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

ANN:Chinese Django Tutorial Released!

2006-01-26 Thread limodou
-removal branch. There is only magic-removal version in zip file. Online visit: http://www.woodpecker.org.cn/obp/django/django-stepbystep/newtest/doc/ -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: repository with apps

2006-01-25 Thread limodou
2006/1/26, Wilson <[EMAIL PROTECTED]>: > > Tim, > > There are plans for an app repository once Django 1.0 is officially > released. Stay tuned! > > I'm waiting... -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: models can't use globals

2006-01-10 Thread limodou
Maybe you should set the module instance in module_constants property, it's described at model-api document in META options section. Or just like what Cheng Zhang shown to import the module in the function scope. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist:

Re: about xgettext

2006-01-09 Thread limodou
be able to run > with Python 2.3. > :) But in 2.3.X version, there are also have pygettext.py and msgfmt.py exist, in windows version. I have 2.3 and 2.4 version installed in my box. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: about xgettext

2006-01-09 Thread limodou
there are pygettext.py and msgfmt.py in tools folder. So I think they are standard tools in offical python release. I'll try the link you gived to me, if I have more questions about i18n, I'll send letter in i18n maillist. Thanks. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

about xgettext

2006-01-09 Thread limodou
pygettext tools, why not use it but xgettext? Or can someone give me a valid software link? Thanks. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: Images. Stylesheets. Javascripts. Where do I put 'em.

2006-01-04 Thread limodou
ke: (r'^site_media/(?P.*)$', 'django.views.static.serve', {'document_root': STATIC_PATH}), STATIC_PATH is absolute path. If you done that, you could use it in links just like: If you want to serve static files in Apache, you could see the mod_python document,

Re: kinda really nOOb question: how to for loop an integer in template?

2006-01-04 Thread limodou
2006/1/4, EricHsu <[EMAIL PROTECTED]>: > > hi all, I've submitted it as a ticket :) > > http://code.djangoproject.com/ticket/1162 > > Good! Just let us waiting... -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: kinda really nOOb question: how to for loop an integer in template?

2006-01-04 Thread limodou
register.filter(wordwrap) > register.filter(yesno) > +register.filter(range0) > +register.filter(range1) > > > then use it like this: > > {% for page_number in pages|range1 %} > {{ page_number }} > {% endfor %} > > Great! And you should make it a new ticket, hope th

Re: kinda really nOOb question: how to for loop an integer in template?

2006-01-03 Thread limodou
; {{ page_number }} > {% endfor %} > > {% endif %} > > Could I submit this line of code into django's source? hehe > > I think create a range filter may be better. May be someone don't need pages_list。But range is more generic. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: kinda really nOOb question: how to for loop an integer in template?

2006-01-03 Thread limodou
2006/1/4, EricHsu <[EMAIL PROTECTED]>: > > Hi limodou, could you pls be more specific? Thanks! > > I thought the pages is a list, but I was wrong, and I didn't find there is a range filter in templates document, so I think either you create a new range filter, or you creat

Re: kinda really nOOb question: how to for loop an integer in template?

2006-01-03 Thread limodou
2006/1/4, EricHsu <[EMAIL PROTECTED]>: > > the python way > > {% for page_number in range(pages) %} > > doesn't work either... :'( > > May be you should use forloop.counter for that. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: registration/login or admin/login?

2005-12-31 Thread limodou
m django.contrib.admin.views.decorators import staff_member_required @staff_member_required def upload(request): -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: A very simple application

2005-12-30 Thread limodou
e("Hello, world. You're at the poll index.") HttpResponse just return the message to the caller, not directly to the screen. > > This is the simplest view possible. Go to "/polls/" in your browser, and you > should see your text. > -- > > I d

Re: A very simple application

2005-12-30 Thread limodou
no output from "saysomething". What am I missing? > > Also, what is the best way to get debug output from Django? I tried a 'print' > statement in 'saysomething' but it seemed to go nowhere. > > Thanks, > Michael > -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: Maybe the easiest tutorial

2005-12-27 Thread limodou
2005/12/28, Jarek Zgoda <[EMAIL PROTECTED]>: > > limodou napisał(a): > > > 7. view the result > > > > You will see the "Hello, django!" in the browser. > > > > That's the all. The only thing I used just is urldispatcher. > > >

Maybe the easiest tutorial

2005-12-26 Thread limodou
That's the all. The only thing I used just is urldispatcher. I hope it will be fun for beginners. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: Is Django right now me?

2005-12-26 Thread limodou
sections of your email to > read. :-p > maybe it a spam email? -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: Upgrading models...

2005-12-26 Thread limodou
2005/12/27, James Bennett <[EMAIL PROTECTED]>: > > On 12/26/05, limodou <[EMAIL PROTECTED]> wrote: > > May be sqlite can do like that, but other databases can not just > > remove the database file. And this appoach will destroy all the > > tables, but what I wa

Re: Upgrading models...

2005-12-26 Thread limodou
2005/12/27, James Bennett <[EMAIL PROTECTED]>: > > On 12/26/05, limodou <[EMAIL PROTECTED]> wrote: > > I suggest that there may be a admin command just like: django-admin.py > > reinstall app > > to do the things like: django-admin.py sqlreset appname | psql

Re: Upgrading models...

2005-12-26 Thread limodou
py sqlreset appname | psql dbname I think this will be helpful in developing period. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: 关于对APP也应加入一个"verbose_name"或"verbose_name_plural"

2005-12-23 Thread limodou
## > 二、修改template index.hmtl的内容: > {% for app in app_list %} > > {{ app.name }} > > {% for model in app.models %} > 为: > {% for app in app_list %} > > {{ app.title }} > > {% for model in app.models %} > ### > ### > 三、这样在每一个app的module定义PY文件中加入如下属性就可以在管理界面中看到了: > ### > verbose_name = u'保险业务信息管理'.encode('gb2312') > ### > > 兄弟,这是老外的邮件列表啊,怎么不用英文呢?老外有几个看得懂呢? Hi, guy, why did you write it in Chinese, why not in English? -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: Django developing in NewEdit

2005-11-22 Thread limodou
> Great job! I was waiting for something like this! > Thanks. :) -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Using NewEdit to design django model

2005-11-18 Thread limodou
orial?action=AttachFile&do=get&target=how_django_model.swf download it(recommend): http://wiki.woodpecker.org.cn/moin/NewEditTutorial?action=AttachFile&do=get&target=how_django_model.zip Hope someone has interesting. -- I like python! My Blog: http://www.donews.net/limodou N

Re: Access request object in model's hooks and display methods

2005-11-17 Thread limodou
; convinient to use in real applications. For example, i would like to > get server address and port in post_save hook, current logged in user > in display method and so on.. > > Or maybe there is the way ? > > May be middleware can do this. But I'm not sure. -- I like pyth

Re: why pub_date is split to pub_date_date and pub_date_time

2005-11-16 Thread limodou
2005/11/17, Robert Wittams <[EMAIL PROTECTED]>: > > limodou wrote: > >>This isn't very well documented right now. > >>See "http://www.djangoproject.com/documentation/model_api/";, under > >>DateTimeField: > >> > >>

Re: why pub_date is split to pub_date_date and pub_date_time

2005-11-16 Thread limodou
n output code of generic view, may be a bug? > > It should probably be mentioned that this is not just in the admin, but > also in every automatically created manipulator. Thanks you very much. I see. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: FileUploadField bug?

2005-11-16 Thread limodou
2005/11/16, Adrian Holovaty <[EMAIL PROTECTED]>: > > On 11/16/05, limodou <[EMAIL PROTECTED]> wrote: > > I'm testing generic view, and I had a FileField in my polls model, but > > as I summited, I got a Exception: > > Hi limidou, > > We can'

Re: why pub_date is split to pub_date_date and pub_date_time

2005-11-16 Thread limodou
d and won't be until the API is fully baked. (Post > core fields removal.) > > Robert > Thanks. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: FileUploadField bug?

2005-11-16 Thread limodou
2005/11/16, limodou <[EMAIL PROTECTED]>: > I'm testing generic view, and I had a FileField in my polls model, but > as I summited, I got a Exception: > > TypeError at /polls/add/ > string indices must be integers > Request Method: POST > Request URL:

FileUploadField bug?

2005-11-16 Thread limodou
a list. Is this a bug? -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

why pub_date is split to pub_date_date and pub_date_time

2005-11-16 Thread limodou
o get field display name? btw: polls model is the example from tutorial -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: django-admin not seeing settings.py

2005-11-06 Thread limodou
svn. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: django-admin not seeing settings.py

2005-11-06 Thread limodou
ce. Any > suggestions? if you set sqlite3, I tried myself, you should also need to install pysqlite2 package, and also need to set DATABASE_NAME variable, and also need to use sqlite3 command tool to create a database file, django-admin.py will not create one for you. It's my experience. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Flash tutorial: How to use NewEdit to build simple django project skelecton

2005-11-06 Thread limodou
Flash tutorial online review: http://wiki.woodpecker.org.cn/moin/NewEditTutorial?action=AttachFile&do=get&target=how_djangoproj.swf -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Django developing in NewEdit

2005-11-05 Thread limodou
TW, you can also using NewEdit to save some code snippets, and you can apply them as editing. NewEdit project: http://wiki.woodpecker.org.cn/moin/NewEdit SVN: http://cvs.woodpecker.org.cn/svn/woodpecker/newedit (recommend) -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

Re: about i18n question

2005-11-04 Thread limodou
e. Thanks. -- I like python! My Blog: http://www.donews.net/limodou NewEdit Maillist: http://groups.google.com/group/NewEdit

about i18n question

2005-11-04 Thread limodou
I found that the zh_CN translation option should be "Simplified Chinese", but not "Traditional Chinese" in the global_settings.py in conf directory。 And I'm the Chinese translator, I want to know how to submit the changes. -- I like python! My Blog: http://www.donews.net

<    1   2   3